The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Breaking the Last Dependency
Subject:  I agree, it should be qualified when to use this method
Date:  2005-04-14 12:16:14
From:  gerryg


I use something very similar in a framework, but only at application start up to determine the configuration of major long-lived types that are themselves factories, such as logging, database config, email helper, etc., all stuff that can change depending on where it's deployed. Using this method throughout an application would be slow, but there are times where it is useful. I'm not very familiar with Spring yet, but does it do something similar?

 Feed java.net RSS Feeds