Saturday 26 January 2019

What is Spring?

Spring is a general purpose framework which does not confine (limit or restrict) itself to any specific domain i.e. it can be used in a console application, web application, enterprise application or a web service.

It is basically based on 2 fundamental concepts:
        1. Inversion of control (IOC)
        2. Aspect-oriented programming (AOP)

IOC Deals with object creation, dependency satisfaction and lifecycle management. In simple terms the concept of IOC states that "application programmers should only be concerned with the use of objects". The creation and management should be "delegated (give responsibility) to a runtime environment" which is called IOC container.