Overview
Spring framework
these days is very popular and is in demand. Spring framework is an open-source
platform which provides a very comprehensive way to build a robust Java application.
Many IT industries have now been shifted from normal java application to Spring
architecture-based java application.
Why learn the spring framework?
Nowadays spring
has become the most popular framework for enterprise applications. It is an
open-source framework which makes it even more popular. Spring makes the application
highly reliable, high performing, easily reusable and easily testable.
Spring framework work
was first released in June 2003 under Apache license. The writer of the spring
framework is Rod Johnson.
Spring makes the
application lightweight as spring itself is a lightweight framework. The basic
version of spring sized around 2MB only.
Spring MVC module provides as POJO based architecture which is easier to use and promotes good programming practices. Spring MVC is the most used spring module which gives complex to less popular frameworks like structs.
What are the Advantages of spring framework over other
frameworks?
Below are the few advantages of spring framework.
1. Lightweight – spring IOC container is
lightweight which means only the packages which are required will be included in
the project. This provides an upper hand to spring as compared to other
frameworks like structs.
2. Modular
– spring framework is modular which means the packages which will be imported
into the application will be module based. The package and classes which will
be used in the application should only be the concern, rest all are waste.
3. Easy
integration with other frameworks – spring took very good care
of the frameworks which were already present in the market. The frameworks like
ORM framework, JDBC can easily be integrated.
4. No
need of Application server – as the spring framework provides POJO based architecture,
the application does not need any EJB container such as application server. We can
use some robust containers like tomcat.
5. Web
MVN – spring provides an MVC architecture which was absent in other frameworks.
Using MVC, we can divide the application into layers which helps us to write
layer-specific code.
6. Centralized
Exceptional handling – the exceptions thrown by spring framework is
unchecked. Spring translate technology specific exception into unchecked
exceptions.
7. Transaction
management – spring provides an abstract API for the transaction. Spring transaction
management adds the transaction handling capabilities to POJOs. Both programmatic
and declarative transactions are supported by spring framework. There is no
need for an application server for transaction management.
There are many more things which we need to learn about spring framework. Below is the course detail or topics which we will cover in this Spring tutorial series.
Course details
These are the major
topics which will be covered in spring tutorial series
· Spring tutorial - Spring BeanPostProcesso
· Spring – Annotation Based Configuration in Spring framework
· Spring – Dependency Injection
· Spring – Java Based Configuration
· Spring – Event handling
· Spring – Creating Custom Events
· Spring – AOP
· Spring – JDBC
· Spring – Transaction Management
· Spring – Web MVC
· Spring – Interview Questions
Audience
This tutorial will
help the software Developers in building a java application using spring
framework. The developer who wants to learn and use spring into the application can go through this tutorial. This tutorial will be an intermediate
level of the tutorial. After reading this tutorial hope everyone will upgrade
to themselves higher level.
Perquisites
The reader should
have a basic knowledge of Core java. You can have a look at the important topics
in my blog. I have covered major Core java almost all topics into the blog. Also,
some basic knowledge on eclipse as all the code will be from eclipse IDE.
0 Comments