错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Configuration and Declaration of Beans

  • Joseph B. Ottinger,
  • Andrew Lombardi

摘要

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.