SpringSource Spring Framework tutorials and examples. Focusing on Spring 3 and above.
Following are the benefits offered by the Spring Framework.
It is possible to develop enterprise level application in Spring using POJOS. The major benefit of using POJO is that you can avoid EJB container like application server. In such cases you just need to use a web server like Tomcat or any other commercial product.
A modular style is used to organize Spring. There are lot of packages and classes but you must only consider the classes being used by you.
The bean has a very simple lifecycle in a normal traditional java application. The bean is instantiated with the new keywork in Java and it is ready to use. When a created bean is not referred by any other object or is not in use, it is collected by the garbage collector.
Bean life cycle in the Spring framework perform extra functionalities. So it is an important part of the Spring framework to understand its bean life cycle so that all the benefits offered by the spring for bean
Configuration model and comprehensive programming is provided by the spring framework for the moderanized java based application for any of the deployment platform. Spring key element is the infra-strutural support provided at the level of application: Spring keeps its focus at the enterprise application plumbing therefore teams could keep their focus at the business logic which is application level without any unessential ties with deployment environment.
In early tips, we discussed the issues around creating and initializing objects and its variables. Fortunately there is a way of addressing this situation in Spring that is a wonderful design pattern that they have applied to address this aspect. It is a combination of Inversion of Control and Dependency Injection. Many developers mistakenly believe that IOC and DI are the same thing. It is incorrect. IOC deals with inverting the control flow in an application, DI describes
Updated 11-30-2011 at 12:41 PM by Spring Framework