Introduction to Spring framework and its modules

Spring framework is widely used, light weight application framework to develop enterprise application. You can develop all layers or specific layer of your application using spring framework. It does not force you to use it in your entire application. It gives you flexibility to develop one particular layer in spring and remaining layers in other frameworks.

Spring is non-invasive framework. Non-invasive frameworks are those frameworks which does not force you to extend/implement framework specific classes/interfaces. Since you don't need to extend/implement spring related class/interface in your spring bean code, you don't need to override any methods. So your spring bean class will be clean, you will write only business logic in bean classes. You can reuse these class with other framework as well.

You can use spring framework to develop any type of applications like desktop applications or web applications

Spring does not depends on any third party container. You can run your application with or without web server. Note- Web module will always need web server. 

Spring framework has multiple modules. You can use any module for particular layer as per your business requirements- Below image shows modules of Spring framework
Spring Modules - Source: Spring reference



Comments

Post a Comment

Popular posts from this blog

Data types and Literals in Java

How to define Auxiliary Constructor in case class in Scala

equals() method of Object class in Java