As we discussed in our earlier tutorial about Spring Framework Introduction, for spring setup in your local machine we need the following prerequisites
- Java (need 1.6 or above for Spring 4.0)
- Java supported IDE like Eclipse, Netbeans etc
- Spring Release Library files.
- Web Server (for Spring Web Module)
What is Spring IOC ?
Spring IOC (Inversion Of Control) also known as Dependency Injection is basically the core part of Spring framework which is responsible for managing object lifecycles of specific objects: creating these objects, calling their initialization methods, and configuring these objects by wiring them together. Object created by the Spring Container are known as Bean. Spring IOC and Dependency injection is based on Factory Design Pattern.
What is AOP ?
Aspect Oriented Programming(AOP) is just not a feature that Spring provide, It is a model of programming that built over substitute of OOP which entails breaking down program logic into distinct parts (so-called concerns). It does not replace or remove OOP, but it add a much more flexibility over that.