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


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

Re: servlet instance

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
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>
Message-ID <_hy6q.7825$GG2.5671@newsfe01.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2011-08-28 18:19 -0300

Show all headers | 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


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