Spring IoC container is the core of the Spring Framework.

In spring-based applications, objects live inside a spring container

The container instantiate the objects, wires them together and manages their complete life cycle from creation till destruction.These objects in the Spring IoC container are referred to as beans.

What is Inversion Of Control(IoC)?

IoC simply means giving control to spring container to create and instantiate the spring beans

Let`s say you want to create a new object, what you would do is “new NewObject” inside the code, which creates a rigidly coupled application.

#java #spring boot #java #spring #springboot

Spring Beans in Java
1.20 GEEK