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
> > 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
, 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
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
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
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
> -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
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,
&
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
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
10 matches
Mail list logo