Spring Architecture
INCLUDES  SPRING ARCHITECTURE  SPRING FRAMEWORK  MODULES  BENEFITS
Spring architecture  There are around 20 modules in spring architecture.  These modules are grouped into:-  Core container  Data access-integration  Aspects oriented programming(AOP)  Instrumentation  test
Spring Framework Very loosely coupled, components widely reusable and separately packaged.
Modules  Core container  The important modules of core container are: 1. Core module: This is fundamental part of spring framework . This module consists of dependency injection features. 2. Bean module: This module consists of bean Factory class.
Continued !!!!! 3. Context module: This module is based on core and bean modules. The application context interface is an important point in this module. 4. Expression language module: This module provide powerful expression language for manipulating an object graph at runtime.
Data access-integration  The important modules are as follows: 1. JDBC: when we use JDBC programming we have to write lots of code . This complexity is removed by providing JDBC abstraction layer. 2. ORM: This module provides consistency to your code regardless of data access technologies.
Continued!!!!! 3. OXM: It is used to convert object into XML format and vice versa. 4. Transaction: it support programmatic and declarative transaction management for plain old java object classes.
web  It consists of following modules 1. Web : It provide the functionalities related to web. It support features such as file upload functionality. 2. Web –Servlet: This module contain the module view container based implementation for web application.
Continued 3. Web –Socket: It provide support for web socket based, two-way communication between client and server in web application. 4. Web-portlet: It provides the MVC implementation to be used in a portlet environment
Aspect oriented programming(AOP)  It provide support for aspect oriented programming implementation.  It allows you to introduce new functionality into existing code without modifying it.
 Aspects  It is separate module which provide integration with aspectJ.  Instrumentation  It provides class instrumentation support and class loader implementation to be used in certain application servers.  Test  It support the testing of spring components.
Last Update: 5/15/06 13 Spring Benefits  Not a J2EE container. Doesn’t compete with J2EE app servers. Simply provides alternatives.  POJO-based, non-invasive framework which allows a la carte usage of its components.  Promotes decoupling and reusability
 Reduces coding effort and enforces design discipline by providing out-of-box implicit pattern implementations such as singleton, factory, service locator etc.  Removes common code issues like leaking connections and more  Support for declarative transaction management  Easy integration with third party tools and technologies.
Spring Architecture | Advanced Java

Spring Architecture | Advanced Java

  • 1.
  • 2.
    INCLUDES  SPRING ARCHITECTURE SPRING FRAMEWORK  MODULES  BENEFITS
  • 3.
    Spring architecture  Thereare around 20 modules in spring architecture.  These modules are grouped into:-  Core container  Data access-integration  Aspects oriented programming(AOP)  Instrumentation  test
  • 4.
    Spring Framework Very looselycoupled, components widely reusable and separately packaged.
  • 5.
    Modules  Core container The important modules of core container are: 1. Core module: This is fundamental part of spring framework . This module consists of dependency injection features. 2. Bean module: This module consists of bean Factory class.
  • 6.
    Continued !!!!! 3. Contextmodule: This module is based on core and bean modules. The application context interface is an important point in this module. 4. Expression language module: This module provide powerful expression language for manipulating an object graph at runtime.
  • 7.
    Data access-integration  Theimportant modules are as follows: 1. JDBC: when we use JDBC programming we have to write lots of code . This complexity is removed by providing JDBC abstraction layer. 2. ORM: This module provides consistency to your code regardless of data access technologies.
  • 8.
    Continued!!!!! 3. OXM: Itis used to convert object into XML format and vice versa. 4. Transaction: it support programmatic and declarative transaction management for plain old java object classes.
  • 9.
    web  It consistsof following modules 1. Web : It provide the functionalities related to web. It support features such as file upload functionality. 2. Web –Servlet: This module contain the module view container based implementation for web application.
  • 10.
    Continued 3. Web –Socket:It provide support for web socket based, two-way communication between client and server in web application. 4. Web-portlet: It provides the MVC implementation to be used in a portlet environment
  • 11.
    Aspect oriented programming(AOP)  Itprovide support for aspect oriented programming implementation.  It allows you to introduce new functionality into existing code without modifying it.
  • 12.
     Aspects  Itis separate module which provide integration with aspectJ.  Instrumentation  It provides class instrumentation support and class loader implementation to be used in certain application servers.  Test  It support the testing of spring components.
  • 13.
    Last Update: 5/15/0613 Spring Benefits  Not a J2EE container. Doesn’t compete with J2EE app servers. Simply provides alternatives.  POJO-based, non-invasive framework which allows a la carte usage of its components.  Promotes decoupling and reusability
  • 14.
     Reduces codingeffort and enforces design discipline by providing out-of-box implicit pattern implementations such as singleton, factory, service locator etc.  Removes common code issues like leaking connections and more  Support for declarative transaction management  Easy integration with third party tools and technologies.