Module-1
Module-1
Predefined
Loose Coupling Easy to test
Templates
Advantages of
Spring Framework
Fast Powerful
Lightweight Development abstraction
Predefined Templates-Spring framework provides templates for
JDBC, Hibernate, JPA etc. technologies. So there is no need to
write too much code.
Loose Coupling-The Spring applications are loosely coupled
because of dependency injection.
Easy to test-The Dependency Injection makes easier to test the
application. The EJB or Struts application require server to run
the application but Spring framework doesn't require server.
Lightweight-Spring framework is lightweight because of its
POJO implementation. The Spring Framework doesn't force the
programmer to inherit any class or implement any interface.
That is why it is said non-invasive.
Fast Development-The Dependency Injection feature of Spring
Framework and it support to various frameworks makes the
easy development of JavaEE application.
Powerful abstraction-It provides powerful abstraction to JavaEE
specifications such as JMS, JDBC, JPA and JTA
Spring Module
Core
Provides the fundamental part
Container
Core of the framework
Data Bean
Provides BeanFactory
Access