On the contrary. ClassLoaders are wonderful. They're just tricky to program with, but give you tremendous power. No Applets, Servlets, EJB containers, etc... without them. Anyone doing Java should understand them IMHO. Similarly, Singletons are useful (there's not in the GoF for nothing), but one has to remember the twist Java puts on them, as Stefan pointed out.
A lot of the power and flexibility of Java comes from its dynamic loading abilities, i.e. ClassLoaders. --DD -----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, April 18, 2002 2:20 PM To: Ant Developers List Subject: Re: Persistent global properties - are they going to be avail abl e? ----- Original Message ----- From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 8:33 AM Subject: Re: Persistent global properties - are they going to be avail abl e? > On Thu, 18 Apr 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > > Not much left to argue when you bring in "truth" like this, is > > there... A case a coding fundamentalism!?!?!?! > > And when you are coding in Java remember that you'll always have one > singleton instance per classloader for your sinleton class. so the real problem is "Classloaders are evil" ; singletons just expose the issues -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
