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 advance!
>
> basti
Hi :-) in a book: "Java Platform Performance" ISBN: 0-201-70969-4,
in about Page 126, there are disscussion and benchmark about the
following:
- Vector
- (mutable) Java 2 Collections
- immutable(unmodifiable) collection wrappers
BTW, java.util.Collections also has "synchronized wrapper"
Bo
June 14, 2001