Author: Aran Cesare
-
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…
-
Creation of a Spring Project

Building a Spring project from the scratch can be a very challenging process. This is because the developers need to decide which dependencies the project will use, and then they need to build and set up the application infrastructure, such as the configuring the XML configuration file, install and configure Java, install an application server…







