O'Reilly logo

Spring Persistence with Hibernate by Ahmad Seddighi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Inversion of Control with Spring

Welcome to Chapter 10, where you will start developing with Spring. This chapter introduces the Inversion of Control (IoC) pattern and discusses how Spring provides IoC at the heart of its framework. Chapter 1 had a quick discussion about IoC and its motivation. In that chapter, you learned why we are interested in IoC and how it allows us to create more manageable and maintainable code. Also, Chapter 3 gave you a simple example of using IoC.

As those chapters discussed, IoC is about application objects. It aims to provide a simple mechanism for managing application objects and their dependencies. With IoC, the application itself is not responsible for obtaining required objects. Instead, Spring (or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required