The structure of Spring will be as shown below.
The components in the Spring structure are :
DOA:The main intention of Data Object Access in Spring is to deal with database technologies like JDBC, Hybernate, JPA.
ORM:The main intention of Object Relational Mapping is converting data between incompatible systems in object oriented programming language.
JEE:JAVE Enterprise Edition will contain technologies like JME, JMS, JCA and EJB'S uses to develop Spring applications.
Web MVC Framework: MVC is a web application used to develop applications using enterprise Java. Web framework built around the basis of Spring. The MVC framework was completely constructed with DispatcherServlet. It can manage the request and response at HTTP.
- DispatcherServlet manages the flow of the Spring MVC application.
AOP:AOP is the powerful tool. AOP allows developers to add enterprise functionality to the application such as transaction, security. AOP allows to write less code. AOP separates the code logic as various parts sales as concerns. AOP uses crosscutting concerns.
- A Cross cutting concern is a service of a program, that can affect on other concerns. Examples are logging, transaction.
IOC Container:Inversion of controller is the core stuff in the Spring framework. Container will create objects and it can make them as together and control lifecycle from initiation to termination. IOC container can read XML files and it can give the support to the POJO'S.