This post originated from an RSS feed registered with Java Buzz
by instanceof java.
Original Post: Introducton to Spting
Feed Title: Instance Of Java
Feed URL: http://feeds.feedburner.com/blogspot/TXghwE
Feed Description: Instance of Java. A place where you can learn java in simple way each and every topic covered with many points and sample programs.
Spring is a complete and a modular framework,because spring can be used in all layers of applications means front end(Spring MVC),Database(Spring JDBC,Spring ORM).
Why Spring:
Struts designed for Web Layer,like Other Frameworks also addressed specific layer,But Spring Framework provides solution to support all layers of application.
Spring is non invasive framework,means Spring doesn't force to implement or extend any class from predefined class from Spring API.
Advantages of Spring:
Spring isopen source and lightweight framework.
Spring is supports all layers including web layer.
Easy for testing.
Spring Supports POJO Model.
POJO-Plain Old Java Object.
Spring works in simple Java environment,because it is non,invasive.
Spring can be integrated with any Application Server
Spring simplifies J2EE development.
Spring Modules:
Spring Core
Spring DAO
Spring AOP
Spring ORM
Spring MVC
Spring WEB
Spring Context
Spring is combination of various modules Seven well defined modules,Most of them are reasonably independent.
Spring modules built using modular approach,you can use only required modules Each module is set of one or more JAR files
Spring’s core module is “Inversion of Control”(IoC) also known as “Dependency Injection”.
All other Spring modules are built on top of IoC.IoC is a Foundation or Container of Spring Framework