Welcome to Spring Framework tutorial by tutorialsinhand.com!
Spring Framework tutorial or spring tutorial or spring programming tutorial is designed and written with intention to cover and impart the best of the knowledge on the spring topics, various problems and its related solutions. We will start from scratch and help you build strong conceptual understanding that will catapult your Spring development journey.
Basic Knowledge of Java programming. Learn java
Basic Knowledge of Eclipse IDE as all examples on this tutorial are compiled using it.
Java developers with desire to learn spring framework, spring architecture and its applications.
Beginners or Students with java knowledge willing to learn Spring framework.
Spring is an open source framework developed by Rod Johnson.
Initially spring was created with an intention to provide alternative to heavier enterprise java technologies. EJB was one of such heavier enterprise java technologies.
But later because of its lighter and leaner programming model along with several advantages like loose coupling, eleminating boiler-plate code, etc. spring was used by millions of developer around the globe to develop high quality code.
Spring can perform variety of tasks. But the talked about and primary feature that it adds are:
Dependency Injection (DI)
Aspect-oriented Programming (AOP)
Advantages of Spring
Spring offers numerous advantages as stated below:
It is a light weight because of POJO implementation and serves as an alternative to the heavier enterprise technologies such as EJB. This helps in developing and deploying spring application on the system with limited space.
Spring makes code loosely coupled through dependency injection which helps in maintaining and testing the code with least effort.
Spring framework helps eliminate boiler-plate code using aspects and templates.
Spring framework provides support to various frameworks like Hibernate, Struts, EJB, etc.
Spring framework provides various modules like spring core, Web, AOP, Aspect, Data Access, etc. You can use the one that you require in your application ommiting rest of the module.
In next chapter of this tutorial we will learn more about spring modules.