ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Persistent global properties - are they going to be avail abl e?
Date Thu, 18 Apr 2002 19:30:15 GMT
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:steve_l@iseran.com] 
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" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
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 <DDevienne@lgc.com> 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message