The document outlines the architecture of the Spring Framework, detailing its modular organization into containers such as Core, Web, and Data. It describes various modules including JDBC, ORM, and AOP, which facilitate data access, object-relational mapping, and aspect-oriented programming, among other functionalities. The document emphasizes the flexibility of Spring, allowing developers to select relevant modules for their applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
5 views8 pages
Priyanka Jadhav
The document outlines the architecture of the Spring Framework, detailing its modular organization into containers such as Core, Web, and Data. It describes various modules including JDBC, ORM, and AOP, which facilitate data access, object-relational mapping, and aspect-oriented programming, among other functionalities. The document emphasizes the flexibility of Spring, allowing developers to select relevant modules for their applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8
WELCOME
Name : Priyanka sanjay jadhav
Roll.no : 21 Class: TYBsc (cpmputer science) Collage Name: K.K.Wagh Arts, Commerce,Science,and Comp.science collage kakasaheb nagar Sub:Object oriented programming using java -2 Topic : Spring Module/Architecture Sub Teacher: Asst.Prof.S.S.Jagtap Fig. 5.2 shows architecture of Spring Framework with its important modules. The modules of Spring Framework are organized into multiple containers like Core, Web and Data. • The basic idea behind the development of Spring Framework was to make it a one stop shop where we can integrate and use the modules according to the need/requirement of the application. • Spring is modular, allowing us to pick and choose which modules are applicable to an application, without having to bring in the rest. • Modules in the data layer help to provide data access from the Web and business components. The Data Layer or Data Access/Integration layer consists of the following modules: o JDBC Module: This module provides the JDBC abstraction layer and helps to avoid tedious JDBC coding. o ORM Module: This module provides integration for object relational mapping APIs such as JPA, Hibernate, JDO, etc. o JMS (Java Messaging Service) Module: This module contains features for producing and consuming messages. o OXM Module: This module provides Object/XML binding. o Transaction Module: This model supports programmatic and declarative transaction management for classes that implement special interfaces and for all the POJOs. • The Web container is built on top of the core container. The Web and Web Servlet modules that are part of the web container are useful for building the Web components for the enterprise applications using the spring framework. • The WebSocket module provides support for WebSocket-based, two-way communication between the client and the server in web applications. • The Web module provides the basic features of a Web application and the Web Servlet module provides an implementation of the spring MVC architecture for Web applications. • The Web-Portlet module provides the MVC implementation to be used in a portlet environment and mirrors the functionality of Web-Servlet module. • There are few other important modules which plays vital role in the Spring Framework namely, AOP, Aspects, Instrumentation, Web and Test modules. These modules are explained as follows: 1. The AOP module provides an aspect-oriented programming implementation allowing us to define method- interceptors and point-cuts to cleanly decouple code that implements functionality that should be separated. 2. The Aspects module provides integration with AspectJ, which is again a powerful and mature AOP framework. 3. The Instrumentation module provides class instrumentation support and class loader implementations to be used in certain application servers. 4. The Messaging module provides support for STOMP as the WebSocket sub protocol to use in applications. It also supports an annotation programming model for routing and processing STOMP messages from WebSocket clients. 5. The Test module supports the testing of Spring components with JUnit or TestNG frameworks. • The core module is the core of the component model; it provides fundamental features like dependency injection. • The Bean module provides Bean Factory, which is a sophisticated implementation of the factory pattern. • The bean module is useful for the instantiation of the beans and is used extensively by the Spring component framework. • The context module is used on top of the core and bean modules for initializing the context for the beans. • The context module plays an important role in loading the components defined and configured for the application. The EL module is used for dynamic querying of components. • The Spring 3.0 introduces a new expression language – Spring Expression Language (SpEL). It is a powerful expression language based on Java Server Pages (JSP) Expression Language (EL). Thank you…..