Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Praise for Spring in Action

Preface

Acknowledgments

About this Book

About the Cover Illustration

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’s new in Spring 2.5?

1.4.2. What’s new in Spring 3.0?

1.4.3. What’s new in the Spring portfolio?

1.5. Summary

Chapter 2. Wiring beans

2.1. Declaring beans

2.1.1. Setting up Spring configuration

2.1.2. Declaring a simple bean

2.1.3. Injecting through constructors

2.1.4. Bean scoping

2.1.5. Initializing and destroying beans

2.2. Injecting into bean properties

2.2.1. Injecting simple values

2.2.2. Referencing other beans

2.2.3. Wiring properties with Spring’s p namespace

2.2.4. Wiring collections

2.2.5. Wiring nothing (null)

2.3. Wiring with expressions

2.3.1. Expressing SpEL fundamentals

2.3.2. Performing operations on SpEL values

2.3.3. Sifting through collections in SpEL