Spring framework is the widely held and light weight framework available in the market right now. It’s open source java platform, comprising of core features like Dependency injection, Spring MVC, Spring DAO and Spring Security etc.
1) Develops enterprise class applications with simple POJOs, the benefit of using POJOs is no need of EJB container from the application servers, we can achieve with this simple web servers like tomcat.
2) Spring framework contains predefined components which we can plug and play like JDBC, JPA and Hibernate etc.
3) Loosing coupling because of the dependency injection.
4) We can test the spring application easily because of its POJO style objects.
5) We can easily handle any exceptions into our own defined exceptions.
6) It has the light weight IoC container because if this we can build light weight applications.
7) Provides api to handle transaction management interfaces.
1) Spring core module
2) AOP
3) Data Access and Integration
4) Web
5) Test
Core module contains the subsequent features
-
Core: This module contains IoC and Dependency features
-
Bean: This module contains BeanFactory
-
Context: This module contains the ApplicationContext interface
1.4) SpEL: This module contains the expression language for querying and manipulating an object graph at runtime.
- AOP: This module provides support to integrate with AspectJ, which will define method-interceptors and pointcuts
3.1) JDBC
3.2) ORM
3.3) OXM
3.4) JMS
3.5) Transaction
4.1) Web
4.2) MVC
4.3) Web-Socket
4.4) Web-Portlet
5.1) Test: testing of spring components with JUnit or TestNG frameworks.
This provides various security features like authentication, authorization to create secure java enterprise applications.
An open source Java-based framework used to create a Micro Services.