Hello, i'm not sure where to ask this but i think this place might be ok.  
Anyway, i was wondering how session beans can have transaction control when *I* 
have total control over what happens inside a session bean's method.

For example, my whole session bean method could consist of a large try/catch 
block.  Inside this try block I get a connection, I update some rows, and an 
exception is thrown.  

How does the session bean get informed of this so that it rolls back the 
transaction?  I mean, I have a try/catch block around the whole thing.  The 
fact that an exception occurred doesn't even go back to the caller.  Can 
someone please explain this "magic"?

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to