You are correct..I didn't even consider instance variables such as used for
a request counter to any given servlet. Good point.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joel Shellman
> Sent: Tuesday, August 07, 2001 2:43 PM
> To: Orion-Interest
> Subject: RE: multiple instances of a servlet?
>
>
> Not true. Since the spec says only one instance, the programmer could
> assume this and utilize instance variables. This would not work as
> expected (per spec) if there were multiple instances handling requests.
> It is arguably a bad idea, but there are situations where it might be
> useful and would work "according to spec" but multiple instances would
> break it.
>
> --
> Joel Shellman
> Full Service Internet Solutions -- Contact us today for a free
> consultation!
> [Design | Flash | eCommerce | Backend | Database | Marketing]
> iKestrel, Inc. http://www.ikestrel.com/
>
> On 07 Aug 2001 12:28:17 -0700, Duffey, Kevin wrote:
> > Even so, an app server utilizing more instances wont break the spec per
> > se...meaning, a spec built application will still run just fine. I can't
> > imagine that Sun dictates how a vendor must specifical handle
> > instances..that wouldn't break any application.
>
>
>


Reply via email to