Lets say a client carrying a transaction context, calls a business method on CMT bean and this business method throws NullPointerException while executing.
If this is correct scenario in which the Container throws TransactionRolledbackException to client, what about NullPointerException that is thrown in business method. Does it wrapped in TransactionRolledbackException?
I think if the beanmethod encounters a NullPointerException, the bean will be discarded since this is SytemException, and the client will recieve a RemoteException or a EJBException. What the client does with its own transaction is up to the client.