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

