Hello,

We are working on a web application where the desired behaviour is as follows:

1.  User A locks a record and begins editing.
2.  User B attempts to lock the same record and immediately receives 
notification that the record is already locked.
3.  In the case of server crash or other failure User A's lock times out and 
the record then becomes available to all users.

We are using EJB's with CMP.  Our current mechanism for locking involves a 
centralised 'locking manager'.  However this has issues with scalability that 
we need to address.

What I am looking for are some decent alternatives given our desired behaviour.

Thanks in advance!



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863337#3863337

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863337


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to