Configuration and Declaration of Beans
摘要
In this chapter, we’re going to explore a decent subset of Spring configuration, and we’re going to shift attention away from "Hello, World" into a simple application that will allow us to explore features and configuration. We’ll introduce the sample application first, then walk through a few different ways to configure it. There’s a lot of code here, much of it redundant on the surface, but we’ll use some base classes to help reduce the tendency to repeat ourselves.