http://www.google.com/search?q=singleton+pattern

----- Original Message -----
From: "Sunil Roy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 06, 2000 11:28 AM
Subject: Re: Singleton per Session


> Hi,
> Pl. tell me what is Singleton pattern.
> Heard it for the first time.
> Thanks
> Sunil K. Roy
>
> ----- Original Message -----
> From: "Joseph Ottinger" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 19, 2001 5:58 PM
> Subject: Re: Singleton per Session
>
>
> > >I want to use the singleton-pattern in my application but when
JSP-pages
> > >serve as clients, every session should use it's own instance of the
> > >singleton. How can I manage?
> >
> > Put the singleton in local scope for the application.
> >
> > >It is possible (how?) to start a new JVM for every new session? - I'm
> > >using the Borland Application Server with Tomcat.
> >
> > YIKES! I shudder to even THINK about this...
> >
> > You don't need to, you don't want to, unless Tomcat's far more broken
than
> I
> > thought. Classes are local to each application; if your singleton is
> located
> > in WEB-INF/classes, for example, they exist only for that application
> > (although CLASSPATH rules still apply.)
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to