Part 1. Core Spring

Spring does a lot of things. But when you break it down to its core parts, Spring’s primary features are dependency injection (DI) and aspect-oriented programming (AOP). Starting in chapter 1, “Springing into action,” I’ll give you a quick overview of DI and AOP in Spring and see how they can help you decouple application objects.

In chapter 2, “Wiring beans,” we’ll dive deeper into how to use Spring’s XML-based configuration to keep application objects loosely coupled with dependency injection. You’ll learn how to define application objects and then wire them with their dependencies.

XML isn’t the only way that Spring can be configured. Picking up where the previous chapter left off, chapter 3, “Minimizing XML configuration ...

Get Spring in Action, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.