CHAPTER 2

image

Spring Bean LifeCycle and Configuration

The Spring Framework provides an easy way to create, initialize, and connect objects into competent, decoupled, easy to test enterprise-ready applications. Every software application consists of software components that interact, that collaborate and depend on other components to successfully execute a set of tasks. Each software component provides a service to other components, and linking the customer and the provider component is the process known as Dependency Injection. Spring provides a very simplistic way to define the connections between them in order to create an application.

Before Spring ...

Get Pivotal Certified Professional Spring Developer Exam: A Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.