<img alt="" src="https://secure.leadforensics.com/150446.png " style="display:none;">

Blogs

Spring Singleton and Java Singleton Pattern

I thought of writing this blog while studying the difference between Singleton pattern and Spring Framework Singleton scope for Bean/POJO. As the default scope for Bean within Spring container is singleton, hence while using Spring's ApplicationContext and BeanFactory we will be getting a single instance to work with. Hence we may be using the Bean instance from the BeanFactory which is singleton in nature, but it is quite different from the Singleton Pattern.

Topics: Spring Framework singleton pattern Java Design Pattern Technology

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.