Concurrent Access mixes data

I have web application in which I am showing a report using database data fetching into bean. I am processing beans for viewing purpose.

1. For, each request, populated bean set into the HttpRequest

This bean contains an ArrayList

2. Through out the request processing for each request new processing objects and JDBC connection are used.

3. There is not single class using static methods although all methods are non static and uses object by reference.

4. All the methods are synchronized

When I try to execute two concurrent request in different session and different machine on same server with pressing F5 key of the browser continueously then data of both arraylist of beans are getting dramatically mixed thus it shows incorrect information

Can anybody tell why such thing is happening

[844 byte] By [Jigar_Sutariaa] at [2007-11-26 17:00:44]
# 1

You might get a better response in a J2EE/web-services forum. I don't know enough about the execution model to know what might be going wrong. It sounds like your using the *same* object somewhere for the different requests. Whether that is the bean itself or some component therein - such as that ArrayList - I have no idea.

Trying printing out information about the bean and and its component objects to see which objects are being used by both requests.

davidholmesa at 2007-7-8 23:28:31 > top of Java-index,Core,Core APIs...