Part II. API Reference

This part of the Reference Guide explains the core functionality of Spring JavaConfig

Chapter 4, Creating and using bean definitions describes the fundamental concepts in Spring JavaConfig: the @Configuration and @Bean annotations, and gives the reader information on how to use them.

Chapter 5, Modularizing configurations. For non-trivial uses of Spring JavaConfig, users will want the ability to modularize configurations for reuse, readability and deployment concerns. This section documents the various techniques and features available for meeting these needs.

Chapter 6, Using aspects. One of the most powerful features of the Spring IoC container is the ability to add aspect-oriented behavior to plain beans using Spring AOP. JavaConfig also makes the use of aspects possible, and this section details how to do it.

Chapter 7, Developing web applications with JavaConfig. Documents JavaConfig's first-class support for use within the web tier with JavaConfigWebApplicationContext.

Chapter 8, Combining configuration approaches. Describes how to use JavaConfig's ConfigurationPostProcessor bean post-processor for integrating @Configuration-annotated classes within an XML configuration file.