List of Figures

 

Chapter 1. Springing into action

Figure 1.1. Dependency injection involves giving an object its dependencies as opposed to an object having to acquire those dependencies on its own.

Figure 1.2. Calls to system-wide concerns such as logging and security are often scattered about in modules where those tasks are not their primary concern.

Figure 1.3. Using AOP, system-wide concerns blanket the components they impact. This leaves the application components to focus on their specific business functionality.

Figure 1.4. In a Spring application, objects are created, are wired together, and live in the Spring container.

Figure 1.5. A bean goes through several steps between creation and destruction in the Spring container. Each step is an opportunity to customize how the bean is managed in Spring.

Figure 1.6. Spring 4.0 is made up of 20 distinct modules.

Figure 1.7. The Spring Framework is made up of six well-defined module categories.

Chapter 2. Wiring beans

Figure 2.1. Injecting a bean reference into a constructor argument with Spring’s c-namespace

Figure 2.2. Injecting a bean reference into a property with Spring’s p-namespace

Chapter 3. Advanced wiring

Figure 3.1. Scoped proxies enable deferred injection of request- and session-scoped beans.

Chapter 4. Aspect-oriented Spring

Figure 4.1. Aspects modularize cross-cutting concerns, applying logic that spans multiple application objects.