Hi,
What are the advantages/disadvantages of a singleton class vs a class with
all static methods and all static class members. The main difference I see
is that with the singleton, you are guaranteed one and only one instance,
whereas with an all-static class, you could potentially have multiple
instances. Is that the only difference? With the all-static class, of
course, you wouldn't necessarily have to have any instances.
Thanks,
Craig Sullivan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html