Re: MultiThreadModel-Problem?

2001-06-15 Thread Sebastian Schulz
hi, thank you all for your help & hints, i'll check it out. Special thanks to Antony for his tip concerning ConcurrentHashMap-Implementation from Doug Lea! Bo, unfortunately i haven't the book "Java Platform Performance", maybe you could give a summary from page 126? thank you all again! bast

Re: MultiThreadModel-Problem?

2001-06-14 Thread Antony Bowesman
> > Sebastian Schulz wrote: > > > > > [...] > > > 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

Re: MultiThreadModel-Problem?

2001-06-14 Thread Luba Powell
, 2001 1:11 PM Subject: Re: MultiThreadModel-Problem? > Sebastian Schulz wrote: > > > [...] > > 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

Re: MultiThreadModel-Problem?

2001-06-14 Thread Luba Powell
gt; To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 12:50 PM Subject: RE: MultiThreadModel-Problem? > I'm new to all this, but is this (HttpServlet not being thread safe) a > Tomcat problem, or just a general JSP problem, which will show up no matter > what server I u

Re: MultiThreadModel-Problem?

2001-06-14 Thread Bo Xu
Sebastian Schulz wrote: > [...] > 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 a

RE: MultiThreadModel-Problem?

2001-06-14 Thread silvio . c . l . terra
001 8:20 AM To: [EMAIL PROTECTED] Subject: Re: MultiThreadModel-Problem? HttpServlet is not thread safe. Synchronize your code where needed - Original Message - From: "Sebastian Schulz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 11:08 A

RE: MultiThreadModel-Problem?

2001-06-14 Thread Randy Layman
> -Original Message- > From: Sebastian Schulz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 14, 2001 11:09 AM > To: [EMAIL PROTECTED] > Subject: MultiThreadModel-Problem? > > > hi, > > i use a servlet in MultiThreadModel-mode (default). > when 2

RE: MultiThreadModel-Problem?

2001-06-14 Thread Christopher Kirk
s, but with out seeing code I cann't be much more exact. - Chris. Brainbench MVP Java2. > -Original Message- > From: Sebastian Schulz [mailto:[EMAIL PROTECTED]] > Sent: 14 June 2001 16:09 > To: [EMAIL PROTECTED] > Subject: MultiThreadModel-Problem? > > > hi, &

Re: MultiThreadModel-Problem?

2001-06-14 Thread Luba Powell
HttpServlet is not thread safe. Synchronize your code where needed - Original Message - From: "Sebastian Schulz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 11:08 AM Subject: MultiThreadModel-Problem? > hi, > > i use a s

MultiThreadModel-Problem?

2001-06-14 Thread Sebastian Schulz
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 thi