Wednesday, 1 March 2017

Spring Core Concepts

Now let's take a look on the core concept of Spring.

Basic Introduction of Inversion of Control(IoC), Dependency Injection(DI), and Spring Framework.

Spring's framework expanded on the concepts introduced in Struts and Avalon, adding its own twist in the form of its extremely lightweight Inversion of Control (IoC) container. Spring is different from other frameworks in that it can be used with virtually any Java component, including POJOs (Plain Old Java Objects), and can be leveraged in small pieces.

What is Framework?
A framework is essentially a skeleton, a structure around which the flashing out of your application occurs. Frameworks tend to be build around a design pattern and consist of frozen spots - structural components which are unmodified by the developer - and hot spots, the pieces that an application developer contributes. In Spring, the hot spots are developer-contributed POJOs which are configured to run within the framework.

In the Spring Context, Most important component - the IoC container,and how Spring
can lead you to better Object Oriented programming and eventually to new possibilities with Aspect Oriented Programming.

Spring and Inversion of Control (IoC)

Inversion of Control is a design principle in which custom written portions of a computer program receive the flow of control from generic framework.


No comments:

Post a Comment