Spring Architecture | Advanced Java

VISHALDONGA1 509 views 15 slides Jul 27, 2017
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

spring hibernate advanced java


Slide Content

Spring Architecture

INCLUDES SPRING ARCHITECTURE SPRING FRAMEWORK MOD ULES 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: Core module : This is fundamental part of spring framework . This module consists of dependency injection features. 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 : T his module provide powerful expression language for manipulating an object graph at runtime.

Data access-integration The important modules are as follows: JDBC: when we use JDBC programming we have to write lots of code . This complexity is removed by providing JDBC abstraction layer . 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 Web : It provide the functionalities related to web. It support features such as file upload functionality. 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(AO P) 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.

Thank You