Your problem is not a part of EJB or whatever specification. Having a thread deleting 
rows while another list the rows is a business problem.

The whole solution for handling that is a combination of transaction, reentrance and 
lock mechanism.
The lock mechanism is not a part of EJB spec, but application servers can do that. You 
can also write a portable lock mechanism, which is decribed at the location:
[url]
http://www.javaworld.com/javaworld/jw-07-2001/jw-0713-optimism.html
[/url]

I hope this helps you.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to