Spring container is responsible for creating applications simultaneously bean to coordinate the relationship between these objects by ID. As developers, we need to tell Spring which bean to be created and how it fitted together.
bean spring fitted in two ways
- Implicit bean discovery mechanism and automatic assembly
- A display disposed in the java code or XML
Reference links: ways spring Bean assembled brief