Chapter 2. Basic bean wiring
This chapter covers
Introducing the Spring container
Injecting constructors and setters
Controlling bean creation and destruction
Have you ever stuck around after a movie long enough to watch the credits? It’s incredible how many different people it takes to pull together a major motion picture. There are the obvious participants: the actors, the scriptwriters, the directors, and the producers. Then there are the not-so-obvious: the musicians, the special effects crew, and the art directors. And that’s not to mention the key grip, the sound mixer, the costumers, the make-up artists, the stunt coordinators, the publicists, the first assistant to the cameraperson, the second assistant to the cameraperson, ...