Java Springs Framework Tutorial
Spring framework is a Java platform that is developed by Spring Source Company and is used develop robust Java applications. Java developers use Spring to create modular, portable and testable applications.
Spring is the most used application development framework in the world. Because of its popularity, Spring is often referred as de-facto standard for developing Enterprise Java applications.
It provides infrastructure support and create high performing, easily testable and reusable code. As Spring handles the infrastructure it becomes easy for developers to focus on developing application.
Spring framework provides support to:
Spring framework is also available for .NET and can be used to develop MVC based web applications.
Features of Spring framework:
Spring is known for its Dependency Injection concept also known as Inversion of Control (IoC) component.
Objects in a Java application have dependencies on each other but Java lacks the functionality to organize these basic building blocks. Spring framework allows developers to compose the various classes and object instances into an application.
AOP (Aspect-Oriented Programming)
Aspect Oriented Programming (AOP) module of Spring framework helps developers decouple cross cutting concerns that implements functionality that should be separated.
Aspect is the unit of modularity in AOP.
Spring MVC web application
Spring has its own MVC (Model-View-Controller) that has already defined interfaces like HandlerMapping, HandlerAdapter, Controller, View, ViewResolver, HandlerInterceptor and LocaleResolver.
Interface are tightly coupled with Servlet API.