Hi mates, I am programming a Singleton class that actually holds some configuration-information for my struts application. By doing so, i eventually come to know that ClassLoaders may create more than one singleton objects..And My question is that Struts Controller (1.2 what i'm using) loads the action classes using classloaders ? if so, is there will be two/or more singleton objects created ?
Thanks in advance ;-)
[URLyBird1.1.1 - > just started]
posted 7 years ago
Why are you programming the configuration data as a Singleton class?
Aside, classloaders do no instantiate (create) objects, they only load classes. There is a difference. [ December 15, 2008: Message edited by: James Clark ]