- Provide a good programming practice by decoupling the layers.
- If you are using spring in your project it decouples the layers and hence it's easy to write the test case for them. So it's easy from maintenance point of view.
- Provide convenient API to translate technologies specific(jdbc,hibernate,jdo etc) exception into consistent unchecked exception.
- It provide consistent transaction management interface that can be scale down to local and scale up to global transaction.
- Provide a lightweight IOC container specially if you compare it with EJB containers. So if you are using spring you do not have to worry about server maintenance even you can develop an enterprise application using tomcat only.
- Like EJB provide you the JMS server facility to do the asynchronous transmission Spring is going to provide you Event dispatch functionality that you can use in the replace JMS.
- If you are using spring in your project it's easy to integrate with different frameworks like struts, hibernate, toplink etc.
- A well designed spring web MVC framework will provide you a new and better way to write a controller.
- IOC(Inversion of control) will give the facility to decouple the modules and AOP(Aspect oriented programming) that will give you the functionality to add the business layer services and easy to mentaine.
Related Posts:
Bean Loading Type In Spring Loading the bean which is configured in the Spring-context.xml file, can be done in two ways : 1. Eager loading or Aggressive loading 2. Lazy Loading Eager loading or Aggressive loading In the case of Aggressive l… Read More
Spring Framework Architecture Spring framework is a layered architecture where Spring 2.x is divided into 6 modules. So here i am going to explain all 6 modules one by one. Spring Core Module: It provide the fundamental part of spring Framework lik… Read More
Spring Implicit Wiring : byType In this type of auto-wiring container detect the bean instance with its data type and checks the data type of the bean instance running in the container with the bean type mentioned in the dependency bean. Some of the task … Read More
Benefit of using Spring Framework Provide a good programming practice by decoupling the layers. If you are using spring in your project it decouples the layers and hence it's easy to write the test case for them. So it's easy from maintenance point of view.… Read More
Alternatives of Open Session In View(OSIV) Today I am going to tell you other alternative you can do in order to avoid LazyInitializationException: Session has been closed. If you are using SPRING with HIBERNATE that you can take the advantages of IOC and AOP. These … Read More
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment