funkman> Static classes should be avoided as a general practice since
funkman> they can may have classloading issues and painful side
funkman> effects. See the archives for more detail. Static classes do
funkman> work but they might have pitfalls depending on changing
funkman> containers or deployment strategies.

Could someone elaborate on this a little more?  One of the earlier
responses

  http://marc.theaimsgroup.com/?l=tomcat-user&m=106552445105027&w=2

Is pretty much a textbook implementation of the Singleton pattern.

(Yes, I've seen static _initializers_ cause problems, but that's a
completely different thing than a static method or a static member).

-- 
Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to