Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7446

Re: servlet instance

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe01.iad.POSTED!8ad76e89!not-for-mail
From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110805 Lightning/1.0b2 Thunderbird/3.1.12
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: servlet instance
References <61acabed-3674-47b7-bd7a-108d6666060d@glegroupsg2000goo.googlegroups.com> <2078d585-7f2b-467f-b945-2b387322df16@glegroupsg2000goo.googlegroups.com> <6738ab89-ac67-4a95-b834-4a7866627f89@glegroupsg2000goo.googlegroups.com>
In-Reply-To <6738ab89-ac67-4a95-b834-4a7866627f89@glegroupsg2000goo.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Lines 16
Message-ID <_hy6q.7825$GG2.5671@newsfe01.iad> (permalink)
X-Complaints-To abuse@newsgroups-download.com
NNTP-Posting-Date Sun, 28 Aug 2011 21:19:54 UTC
Organization Public Usenet Newsgroup Access
Date Sun, 28 Aug 2011 18:19:51 -0300
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7446

Show key headers only | View raw


On 11-08-28 05:55 PM, Asit Dhal wrote:
> Can you just explain about multiple instance creation ?

I'd recommend reading the Servlet specification, whichever version (e.g.
2.5 or 3.0) applies to your selected version of Java EE. There is a
section in that spec entitled "Number of Instances".

It has actually been the case as far back as I can remember
(Servlet<=2.2) that servlet containers create *one* instance of a
declared servlet per JVM (would be more than one in a distributed
situation with more than one cluster node).

It is possible to configure servlets in such a way that the container
could create multiple instances. Don't do this.

AHS

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

servlet instance Asit Dhal <lipun4u@gmail.com> - 2011-08-28 13:12 -0700
  Re: servlet instance Lew <lewbloch@gmail.com> - 2011-08-28 13:26 -0700
    Re: servlet instance Asit Dhal <lipun4u@gmail.com> - 2011-08-28 13:55 -0700
      Re: servlet instance Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-28 18:19 -0300

csiph-web