Why Spring is called Light weight?
->There are many reasons which makes spring a light weight framework.
1. Spring provides us different modules and allows us to use any one module-based to our requirement, Ideally the spring jar is just 2-3 MB.
2. If you compare Spring with EJB, then you have to write very less code and configurations too.
The beauty of Spring is that you can actually focus on business logic whereas in EJB you have to write
lot of code along with business logic which makes the code bulky and tightly coupled.
3. Through Spring you are playing with POJO which do not depends on Framework and it improves the testability of your code.
4. And, Spring provides seamless integration with frameworks, third party libraries etc.
->There are many reasons which makes spring a light weight framework.
1. Spring provides us different modules and allows us to use any one module-based to our requirement, Ideally the spring jar is just 2-3 MB.
2. If you compare Spring with EJB, then you have to write very less code and configurations too.
The beauty of Spring is that you can actually focus on business logic whereas in EJB you have to write
lot of code along with business logic which makes the code bulky and tightly coupled.
3. Through Spring you are playing with POJO which do not depends on Framework and it improves the testability of your code.
4. And, Spring provides seamless integration with frameworks, third party libraries etc.
Comments
Post a Comment