what happends if methodA running in transactional context call methodB having "never" transactional attribute.Will the container kill the bean instance of methodB.
If methodA is running in transaction context, then methodB will throw java.rmi.RemoteException. Since RemoteException is a system exception, the bean instance will be discarded, and transaction will be rolled back.
In the morning there is hope; in the afternoon, fulfillment; in the evening, memory; at night, peace.
posted 16 years ago
But in JDiscuss Explanation was given like this. "Container will kill the bean instance of methodA,and Container won't kill bean instance containing methodB".
Your mind is under my control .... your will is now mine .... read this tiny ad