What is Spring?
Spring is a lightweight inversion of control and aspect-oriented container framework.
Explain Spring?
· Lightweight – spring is lightweight when it comes to size and transparency. The basic version of spring framework is around 1MB. And the processing overhead is also very negligible.
· Inversion of control (IoC) – Loose coupling is achieved in spring using the technique Inversion of Control. The objects give their dependencies instead of creating or looking for dependent objects.
· Aspect oriented (AOP) – Spring supports Aspect oriented programming and enables cohesive development by separating application business logic from systems services.
· Container – Spring contains and manages the life cycle and configuration of application objects.
· Framework - Spring provides most of the intra functionality leaving rest of the coding to the developer.
What are the different modules in Spring framework?
· The Core container module
· Application context module
· AOP module (Aspect Oriented Programming)
· JDBC abstraction and DAO module
· O/R mapping integration module (Object/Relational)
· Web module
· MVC framework module
What is the Core container module?
This module provides the fundamental functionality of the spring framework. In this module BeanFactory is the heart of any spring-based application. The entire framework was built on the top of this module. This module makes the spring container.