Hello,
I need to develope a servlet that manages a FIFO queue. In fact I need I
think that the queue it will be a critical section, so I need to manage the
synchronization
of the servlet to access the queue.
I think to use the SingleThreadModel.
I don't know what really happens in this case. for example:
when the first servlet is launched it lock the queue; but if at the same
time arrive another request for a servlet
this one cannot access to the queue, and what happens?
I lost the request?

Thanx


Antonio Mancuso

___________________________________________________________________________
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