Spring is a lightweight inversion of control and aspect-oriented container framework.
2) Explain Spring?
• Buy 4000+ Spring/Java Interview Questions from Java Books store • 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 system 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.
3) 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
4) What is the structure of Spring framework?
5) What is the Core container module?
This module is 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.
6) What is Application context module?
The Application context module makes spring a framework. This module extends the concept of BeanFactory, providing support for internationalization (I18N) messages, application lifecycle events, and validation. This module also supplies many enterprise services such JNDI access, EJB