Sponsor

banner image

recent posts

What is Spring framework ? And why we use spring framework?


What is the Spring framework?

Spring framework is an open-source Java application development framework which helps to develop all types of Java application such as Enterprise applications, web applications etc.

Applications developed by spring are very simple, easily testable and easily maintainable. The main feature of spring developed application is it has loose coupling. Basically, we can understand loose coupling as a developer can pick any module and work on that, the rest all the modules will be unaffected. 


Why Spring framework?

There are lots of features of spring framework that encourages us to use spring framework instead of the other frameworks.

1. Light-Weight - A basic spring framework would be lesser than 10MB. It has an embedded tomcat application server so we don't need to install any heavy application servers.

2. Non-Invasive - Spring application is developed using POJOs classes. So no need to extend or implement any pre-defined classes.

3. Loosely Coupled - Spring features like Dependency Injection and AOP(Aspect Oriented programming) helps developers to create loosely coupled applications.

4. Inversion of Control (IoC) - IoC is basically helped developer implement dependency injection. It takes cares of object creation, initialization, and managing the object life cycle.

5. Aspect-Oriented Programming(AOP) - There are many functionalities that are same in every module such as security, logging etc. So Spring separate these type of functionalities and implement at one place and when we need to use those we can simply call them. This technique called Aspect-oriented programming. which reduces the complexity and make it easy to understand for developers.


Thank you for reading my blog. If you find anything missing or a mistake then please inform me through the comment. I'll try to make that correct.


Keep Learning, Keep practising and stay motivated 



 

What is Spring framework ? And why we use spring framework? What is Spring framework ? And why we use spring framework? Reviewed by VIVEK KHATOR on May 02, 2021 Rating: 5

No comments:

Powered by Blogger.