Java Experts Community-JEC
It is a Java community where java learners and experts can learn as well as share their knowledge...
Wish U Happy New Year 2015,,,,
How to avoid deadlock in Java Threads Thanks Javin Consistent lock acquisition ordering prevents deadlock indeed.
Difference betweenn Gof Singleton and Spring Container Singleton
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
The GoF Singleton hard codes the scope of an object such that one and only one instance of a particular class will ever be created per ClassLoader.
-----------------------------------------------------------------------------------
The scope of the Spring singleton is best described as per container and per bean. This means that if you define one bean for a particular class in a single Spring container, then the Spring container will create one and only one instance of the class defined by that bean definition. The singleton scope is the default scope in Spring
Click here to claim your Sponsored Listing.
Website
Address
Hyderabad