tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hunter Hillegas <li...@lastonepicked.com>
Subject Re: ArrayList vs. Vector
Date Mon, 23 Apr 2001 21:07:22 GMT
But that would only apply to objects kept in the application or session
scope, yes?

If an object a new object is created and placed in the request scope, it's
only going to be accessed by one user (that request) right?

Hunter

> From: "Tim O'Neil" <tim@xythos.com>
> Reply-To: tomcat-user@jakarta.apache.org
> Date: Mon, 23 Apr 2001 13:47:01 -0700
> To: tomcat-user@jakarta.apache.org
> Subject: Re: ArrayList vs. Vector
> 
> At 01:09 PM 4/23/2001 -0700, you wrote:
>> This leads to a new question...
>> 
>> What impact does synchronization have on Web applications? Where is it
>> necessary?
> 
> 
> Well, the only good use of a collection is for keeping
> tabs on a group of data records, right? Well, what happens
> if one web user hits your baseball averages server and updates
> Cardinal Albert Pujols batting average while another user
> tries to update at exactly the same time? This is what
> synchronization is for.
> 
> 
> 


Mime
View raw message