Different modules of the spring frame work?
1. Spring Core Module
2. Spring DAO(JDBC) Module
3. Spring ORM Module
4. Spring AOP Module
5. Spring JEE Module
6. Spring Web Module
Spring Core Model:-
This Core Module is the base module of a spring frame work application.
This Core Module will provide the following information to the spring programmers.
1. The way of creating spring Beans.
2. The way of Configuring Spring Beans.
3. The way of injecting the dependencies.
4. The way of obtaining a spring container object.
5. The way of accessing the spring beans from container.
This Core Module will provide the following information to the spring programmers.
1. The way of creating spring Beans.
2. The way of Configuring Spring Beans.
3. The way of injecting the dependencies.
4. The way of obtaining a spring container object.
5. The way of accessing the spring beans from container.
Spring DAO (JDBC) Module:-
This Module will provide an abstraction layer on top of JDBC technology.
While working with JDBC technology directly as programmers, we are writing the Boiler-plate code (Repeated code) like Loading the driver, opening a connection, creating a statement and closing the objects etc…
Apart from Boiler-plate code, we also need to handle the Exceptions of JDBC explicitly because JDBC Exceptions are checked exceptions.
In order to avoid the Boiler-plate code and to also avoid exception handling Burdon, spring frame work has provided this DAO module.
While working with JDBC technology directly as programmers, we are writing the Boiler-plate code (Repeated code) like Loading the driver, opening a connection, creating a statement and closing the objects etc…
Apart from Boiler-plate code, we also need to handle the Exceptions of JDBC explicitly because JDBC Exceptions are checked exceptions.
In order to avoid the Boiler-plate code and to also avoid exception handling Burdon, spring frame work has provided this DAO module.
Spring ORM Module:-
This ORM Module is an abstraction layer on top of the ORM tools and which makes a spring programmer to transfer a data between application and database in the form of objects.
ORM tools are very good tools for communicating with databases but having some drawbacks, these drawbacks are eliminated in spring ORM module.
ORM tools are very good tools for communicating with databases but having some drawbacks, these drawbacks are eliminated in spring ORM module.
Spring AOP Module:-
Aspect Oriented Programming is a new way to developing real time applications with required services
The AOP module will provide us the way of separating the services from Business logic and also it provides us the way of injecting the services for business logic at runtime.
In spring terminology, the services are also called “Cross-Cutting Concerns” (Middle ware services).
The AOP module will provide us the way of separating the services from Business logic and also it provides us the way of injecting the services for business logic at runtime.
In spring terminology, the services are also called “Cross-Cutting Concerns” (Middle ware services).
Spring JEE Module:-
This Module is for implementing the middleware services required for Business logic. This spring JEE module is an abstraction layer on top of RMI, Java mail, JMS, Jars etc…
There is a difference between AOP and JEE modules
AOP is just for applying the services (or) injecting the services but not for implementing the services, whereas JEE is a module for implementing the services.
For real time Business logic development with middleware services, we use spring core, spring AOP, and spring JEE modules.
Spring Web Module:-
This module is either for integrating with web applications created in other frame works (or) for creating complete MVC to based web application in spring frame work.
Spring web module is also called Spring web MVC module and this module is for creating web applications of java with MVC to architecture.
There is a difference between AOP and JEE modules
AOP is just for applying the services (or) injecting the services but not for implementing the services, whereas JEE is a module for implementing the services.
For real time Business logic development with middleware services, we use spring core, spring AOP, and spring JEE modules.
Spring Web Module:-
This module is either for integrating with web applications created in other frame works (or) for creating complete MVC to based web application in spring frame work.
Spring web module is also called Spring web MVC module and this module is for creating web applications of java with MVC to architecture.
Visitors