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 systemwide concerns such as logging and security are often scattered about in modules where those concerns are not their primary concern.

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

Figure 1.4. In a Spring application, objects are created, wired together, and live within 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. The JAR files that come with the Spring Framework distribution

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

Chapter 2. Wiring beans

Figure 2.1. Referring to another bean’s property using the Spring Expression Language

Chapter 3. Minimizing XML configuration in Spring

Figure 3.1. When autowiring by name, a bean’s name is matched against properties that have the same name.

Figure 3.2. Autowiring by type matches beans to properties of the same type.

Figure 3.3. When autowired by constructor, the dukePoeticJuggler is instantiated with the constructor that takes a Poem argument.

Chapter 4. Aspect-oriented Spring