Tag: beans
-

Bean Scopes – Singleton and Prototype
Spring has six types of scopes: singleton, prototype, request, session, application, and websocket. Singleton and Prototype are the two scopes that can be used in any application meanwhile the other four scopes are only available for a web application. For this entry we only focus on the Singleton and Prototype.
-

Managing Beans and Dependencies
Spring automates the process of creating objects and binding them together. Spring takes the responsibility of creating instances of classes and binding the instances based on their dependencies. The instances or objects that Spring manages are called beans. But, how Spring manages objects and dependencies, well, Spring requires information about three things: Beans, Dependencies, and Location…
-

Spring Architecture
Besides of the Spring terminology, when we start with Spring we start to hearing about Spring boot, Spring Cloud, Spring MVC, Spring AOP, etc. and then we don’t know how to start and in the worst of the case we drop it to learn it. So, we can continue explaining those modules, project, etc. so…
-

Spring Terminology
When we start the Spring Framework, we start listening terms like Beans, Autowiring, Dependency Injection, IoC Factory, Inversion of Control, Application Context, etc. Before the go in full with Spring we need to understand them before.
