tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Carmichael <>
Subject RE: ArrayList vs. Vector
Date Mon, 23 Apr 2001 21:03:09 GMT
Your statement is assuming quite a bit about the author's intent to use the

-----Original Message-----
From: Danny Angus []
Sent: Monday, April 23, 2001 1:02 PM
Subject: RE: ArrayList vs. Vector

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 []
> 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

View raw message