DEV Community

Saravanan B
Saravanan B

Posted on • Updated on

Spring 5- Spring core

Spring is framework of framework just because is has support to various components like hibernate and struts.
Spring Core is the heart the spring framework.
- Dependency injection to promote loose coupling.
- Light weight development with POJO(plain old java objects).
- Spring is used minimize the boiler plate code.
- Without spring its a TDS work to develop a web application
- Declarative programming with aspect oriented programming(AOP).

Core Container -
Factory for creating bean.
Manage bean dependency.
It contains the Beans, core, SpEL and Context.
Context is the spring container which store the bean and memory.

Data Access Layer is used to communicate with Database.
Spring Provides helper class to access database which reduce the source code 50%.

ORM - Object relational Mapping which integrate with Hibernate and JPA.

JMS - Java message service which is used to send async message to a message broker. Spring provides helper class for JMS.

Spring Container

Create and manage objects (Inversion of control).
Inject Object dependencies (Dependency Injection).

Top comments (0)