Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Praise for the Third Edition of Spring in Action

Preface

Acknowledgments

About this Book

1. Core Spring

Chapter 1. Springing into action

1.1. Simplifying Java development

1.1.1. Unleashing the power of POJOs

1.1.2. Injecting dependencies

1.1.3. Applying aspects

1.1.4. Eliminating boilerplate code with templates

1.2. Containing your beans

1.2.1. Working with an application context

1.2.2. A bean’s life

1.3. Surveying the Spring landscape

1.3.1. Spring modules

1.3.2. The Spring portfolio

1.4. What’s new in Spring

1.4.1. What was new in Spring 3.1?

1.4.2. What was new in Spring 3.2?

1.4.3. What’s new in Spring 4.0?

1.5. Summary

Chapter 2. Wiring beans

2.1. Exploring Spring’s configuration options

2.2. Automatically wiring beans

2.2.1. Creating discoverable beans

2.2.2. Naming a component-scanned bean

2.2.3. Setting a base package for component scanning

2.2.4. Annotating beans to be automatically wired

2.2.5. Verifying automatic configuration

2.3. Wiring beans with Java

2.3.1. Creating a configuration class

2.3.2. Declaring a simple bean

2.3.3. Injecting with JavaConfig

2.4. Wiring beans with XML

2.4.1. Creating an XML configuration specification

2.4.2. Declaring a simple <bean>

2.4.3. Initializing a bean with constructor injection

2.4.4. Setting properties