hi,

i use a servlet in MultiThreadModel-mode (default).
when 2 users at the same time makes the same request
to the servlet (a operation that needs a bit) it seams, that
only the request of the user who was perhaps a millisecond
earlier is responded correct, the other seams to be ignored.

(i think, this is perhaps a concurency-problem, but i do not use
static variables and could not find an error)

the second question is:  data-container like HashMap or HashSet
are considered to be not Thread-save. Can i use such containers
in a MultiThreadModel-Servlet or must i use only slower structures
like Vector?

your help is realy needed, many thanks
in advance!

basti

Reply via email to