Professional Java Development With The Spring Framework [Electronic resources]

Rod Johnsonet

نسخه متنی -صفحه : 188/ 23
نمايش فراداده

Chapter 2: The Bean Factory and Application Context

Overview

next chapter will show how you may also access the full power of the containers using programmatic mechanisms for configuration, as well as alternative declarative formats.

We'll be looking at:

Inversion of control and Dependency Injection

Basic object configuration and wiring of objects in the Spring container

How dependencies are resolved, and explicit versus automatic wiring of dependencies

Handling object lifecycles in the Spring container

Abstracting access to services and resources

Bean and bean factory post-processors for customizing bean and container behavior

Programmatic usage of the BeanFactory and ApplicationContext interfaces