Bean to avoid concurrent access

Hi,

The scenario is as follows:

1. There are two methods by which a common record can be accessed

2. However, when one method has access to this common record, the other method should not have access to it.

I am using a stateless session bean, with Transaction Type set to container. I believe i am not using the right kind of bean for this transaction, as concurrent access is still possible. Please let me know which bean and the transaction type to be followed to avoid such concurrent access.

Thanks!

Archna Vish

[559 byte] By [archnavisha] at [2007-11-27 4:32:09]
# 1
Hi, try to read this post, maybe can help you : http://forums.java.net/jive/thread.jspa?threadID=16175
kerulea at 2007-7-12 9:41:44 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...