> Sunil Kuchipudi wrote:
> >
> > Based on this premise, I do not understand why some ppl are looking to
> > implement the singleton pattern. Please enlighten me if I am missing
> > anything here.
>
> For caching read-only or read-mostly data in stateless session beans where you
> don't want multiple copies of your cached data.
<vendor>
The jBoss EJB container allows one to use stateless session beans for
this. A special instance pool which guarantees that only one instance of
the bean is created can be used for exactly this purpose. This allows
one to do singletons as an EJB, which brings all the other benefits of
EJB, and also helps keep the application EJB only.
</vendor>
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".