Spring provides a core factory pattern, which eliminates the need to manually program factory objects (usually realized as singletons). It also, as the documentation explains, "allows you to decouple the configuration and specification of dependencies from your actual program logic."
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.