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"?
who said its magic, just let me know your application server and your xml deployment descriptor