they aren't synchronised, tomcats thread pooling may cause unpredictable
numbers of threads to have access to your objects, even once the servlets
method has returned(unless you use single thread model).
What do you stand to gain at the expense of the risk?

> -----Original Message-----
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 8:37 PM
> To: Tomcat User List
> Subject: ArrayList vs. Vector
>
>
> I use Vectors in some parts of my Web app and I'm thinking about using
> ArrayLists instead...
>
> Any caveats to using them in a Web app environment?
>
> Hunter
>

Reply via email to