Illustrate the features of Spring

Illustrate the features of Spring ?

E

Expert

Verified

1.) Lightweight:
Spring is lightweight whenever it comes to transparency and size. The simple version of spring framework is of around 1MB. And processing overhead is approx negligible.
2.) Inversion of control (IOC):
Loose coupling is reached in spring using method Inversion of Control. The entities give their dependencies instead of looking for dependent objects.
3.) Aspect oriented (AOP):
The Spring supports an Aspect oriented programming and allows cohesive development by separating application business logic from system services.
4.) Container:
Spring holds and manages the life cycle and configuration of application objects.
5.) MVC Framework:
Spring comes with MVC web application framework, built on the core Spring functionality. This framework is very configurable by strategy interfaces, and accommodates multiple view tools as JSP, Tiles, Velocity, iText, and POI. But other frameworks can be simply used instead of Spring MVC Framework.
6.) Transaction Management:
Spring framework offers a general abstraction layer for the transaction management. This permitting the developer to add pluggable transaction managers, and creating it easy to demarcate transactions without dealing with the low-level issues. Spring's transaction support isn’t tied to J2EE environments and it can be also used in container less environments.
7.) JDBC Exception Handling:
The JDBC abstraction layer of Spring proposals a meaningful exception hierarchy, that simplifies error handling.

   Related Questions in JAVA Programming

©TutorsGlobe All rights reserved 2022-2023.