Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Same Entity bean accesed simultaneously

param arora
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can any one help me .. What best we can do to handle the case when we expect

The same EJB (Representing a Row in the data base) is accesed by 2 different clients from different locations.

I am aware of the transactions and the scope of transaction. By default in Enity beans using the CMT have the scope set to COMMIT_ACCESS i.e if in
case we have the same row being updated which some other client is trying to read , then only the commited data will be read by client trying to read .

Thxs in advance.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic