Title: How Spring Framework Really Works?
1Introduction to Java Spring
2Java Spring
Java spring is one of the framework in Java
platforms. It offers extensive coding
infrastructure handle for building Java
application. It means to manage coding
infrastructure developer mostly focus on your web
apps.
3Spring Framework Architecture
Data Access/Integration
Web
JDBC
ORM
Servlet
WebSocket
OXM
JMS
Web
Portal
Transactions
AOP
Messaging
Aspects
Instrumentation
Core Container
SpEL
Beans
Content
Core
Test
Reference URL Image https//docs.spring.io/spring
/docs/4.0.x/spring-framework-reference/html/overvi
ew.html
4Spring Framework Features
1
Lightweight - Spring is lightweight framework
with allows extra memory footprint and visible
activity.
Inversion Of Control (IOC) - Another good
features by which the access of objects part into
a program is visible to a framework.
2
Aspect Oriented Programming (AOP) - AOP is
similar work as OOP (Object-Oriented Programming)
concept. It creates simply to handle by grouping
features and method which all have individual
goal.
3
4
Container - It creates the objects them
grouping, mange, configure and execute the bean
lifecycle.
5Spring Framework Features
MVC Framework - Spring Web model-view-controller
(MVC) framework is designed MVC based web apps.
5
Transaction Management - One of the most useful
feature for transaction management, It support
for simple API transaction, excellent
integration, easy data access and management
layer.
6
7
JDBC Exception Handling - It helps of exception
handling we can get particular layer in case
something missing data but JDBC explore correct
statement.
6Spring Framework Benefits
Quickly solution for complicated bug of Java
enterprise application development
01
It provides or support number of technologies
such as Java mail, JDBC, RMI, Servlets, JSPS,
JNDI etc...
02
Easy to integrate other framework, dont need
integrate with specific technologies or framework
03
04
It provides alternative legacy web framework
Spring can remove the creation of the child and
root classes
05
Excellent support GUI web application and applets
06
7Spring Version History
2.0
4.0
2009
2002
2017
2004
2013
5.0
1.0
3.0
8Spring Boot
- The Spring boot model of designed standalone
application is great fit for Java web
application. - You can use different spring framework to deploy
spring application. - It easily handle on 3rd party library with reduce
code length - It tested our code easily and quickly
-
9Spring Framework Database
The Spring framework offers great handler for
working with MS SQL server, from direct JDBC
(Java Database Connectivity) approach using JDBC
Template. How to Configure Database -gtLets
create one example CREATE TABLE Employee( ID
INT NOT NULL AUTO_INCREMENT, NAME
VARCHAR(10) NOT NULL, AGE INT NOT NULL,
PRIMARY KEY (ID) )
JDBC
10Spring Security
- Spring security is a framework that mainly focus
on offering both authentication and authorization
to J2EE based Java web applications. -
- Main Features -
- Grouping security system and Channel security
- Easy switch HTTP and HTTPS
- Every module test using JUnit
-
Security
11Spring AOP
AOP means (Aspect Oriented Programming) is a
model programming that main goal to increase
modularity and reduce code length. That provides
approaches that are not central to the business
pattern.
Point cut
Program Execution
Point Join
12Contact Us
Corporate Office
Development Centre
Titanium Square 3rd Floor, Office No. B-302,
S.G. Highway, Beside Parsoli Motors. Nr. Thaltej
Crossing, Ahmedabad 380 054 Gujarat India
hs_at_nexsoftsys.com
"Royal Square" 1st Floor, Off No. 110, Nr. Shilp
Tower, Tagore Road, Rajkot - 360 001 Gujarat -
India info_at_nexsoftsys.com
13THANK YOU FOR YOUR ATTENTION
Q
A