Saturday 21 February 2015

What is spring?

spring is an open source light weight, Non invasive, loosely coupled, Aspect oriented (AOP) dependency injection based Java Application Framework to develop all kinds of Applications.


How can you say that Spring is open source?

Ans: Along with spring Software we get it source code, this makes spring open source.

Spring is light weight?

(1) spring framework size is less
(2) spring containers can be activated as In-memory containers with out any physical servers support
(3) spring resources can be developed with out spring API

Spring is Non-Invasive Framework because the classes of spring application can be developed with out extending or implementing spring API classes/interfaces.


Spring Framework is not replacement or alternative for JSE, infact it is complement to those technologies.

Loosely coupled?

If degrees of dependency is less then it is called Loosely coupled. Ex: TV, remote.

Tightly coupled?

If degrees of dependency is high then it is called tightly coupled.
Ex: (1) fan, switch (2) CPU, and monitor


·         Middleware  service  of main logic in J2EE Technology but not in Spring.
·         Aspect Oriented Program (AOP) is a methodology of developing middleware services logics separately from main stream business logic and linking them with business logic dynamically at run time.
Middleware services are like security, Transactions and etc since Spring gives support for this AOP, we say spring is Aspect oriented.

No comments:

Post a Comment