Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #7441 > unrolled thread
| Started by | Asit Dhal <lipun4u@gmail.com> |
|---|---|
| First post | 2011-08-28 13:12 -0700 |
| Last post | 2011-08-28 18:19 -0300 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | Asit Dhal <lipun4u@gmail.com> |
|---|---|
| Date | 2011-08-28 13:12 -0700 |
| Subject | servlet instance |
| Message-ID | <61acabed-3674-47b7-bd7a-108d6666060d@glegroupsg2000goo.googlegroups.com> |
Who creates Servlet Instance ?? when it is created ?? Is there any chance of creation of multiple instance ??
[toc] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2011-08-28 13:26 -0700 |
| Message-ID | <2078d585-7f2b-467f-b945-2b387322df16@glegroupsg2000goo.googlegroups.com> |
| In reply to | #7441 |
Asit Dhal wrote: > Who creates Servlet Instance ?? You only need one question mark to indicate an interrogative. The servlet container. > when it is created ?? On demand. > Is there any chance of creation of multiple instance ?? Yes. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Asit Dhal <lipun4u@gmail.com> |
|---|---|
| Date | 2011-08-28 13:55 -0700 |
| Message-ID | <6738ab89-ac67-4a95-b834-4a7866627f89@glegroupsg2000goo.googlegroups.com> |
| In reply to | #7443 |
Can you just explain about multiple instance creation ?
[toc] | [prev] | [next] | [standalone]
| From | Arved Sandstrom <asandstrom3minus1@eastlink.ca> |
|---|---|
| Date | 2011-08-28 18:19 -0300 |
| Message-ID | <_hy6q.7825$GG2.5671@newsfe01.iad> |
| In reply to | #7444 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web