|
We've implemented the request-controller pattern
using a servlet as the entry-point of all our jsp-pages. For some reason Orion
creates multiple instances of this servlet even though it isn't implementing
SingleThreadModel and there isn't anything peculiar about it. I have the servlet
printing to System.out every time init() is run and every time it receives a
request, it also prints the memory address of the instance that's handling it.
For some reason with this servlet there are multiple instances (up to 3 so far)
that handle these requests. There doesn't seem to be any larger logic in which
instance gets to handle the request. It's not a problem per se but I just find
it rather strange since I assumed that only one instance of a servlet would be
created. Anyone else ran into this ?
cheers,
Ville Rinne
|
- Re: multiple instances of a servlet? Ville Rinne
- Re: multiple instances of a servlet? richard wu
- RE: multiple instances of a servlet? Duffey, Kevin
- Re: multiple instances of a servlet? richard wu
- RE: multiple instances of a servlet? Duffey, Kevin
- RE: multiple instances of a servlet? Joel Shellman
- RE: multiple instances of a servlet? Kevin Duffey
- RE: multiple instances of a servlet? Ville Rinne
- Re: multiple instances of a servlet? Richard Wu
- Re: multiple instances of a servlet? Ville Rinne
- Re: multiple instances of a servlet? Daniel L�pez
