Bonjour

It is very curious, but the behaviour of servlet container are different
between Resin, Tomcat and ServletExec when I implement SingleThreadModel in
a servlet

the results are incoherent and are not the same in each of my 3 frames, when
I don't implement SingleThreadModel in my servlet and it is normal, beacause
the design of the servlet ..

So I implements SingleThreadModel in my servlet and when I call in the same
time 3 instances of this servlet ( it is easy, I put a Thread.sleep(100) in
my servlet, and I call three instance of this servlet in 3 frames distincts,
in the same time ) the results is different between the 3 servlet containers
..

With Tomcat and servletexec, the 3 results of the 3 instances are
differents, and it seems that the 3 instances or at least 2 are executed in
parallel..
With resin 2.10, the 3 instances are exactly executed in sequence so the 3
results are good and equals..

I change nothing between the tests except the servlet container ..

bizarre ...

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to