l=true" title="class or interface in java.rmi">RemoteException</a></pre>
<div class="block">The <code>afterBegin</code> method notifies a stateful session bean instance that a new
 transaction has started, and that the subsequent business methods on the
 instance will be invoked in the context of the transaction.

 <p> The instance can use this method, for example, to read data
 from a database and cache the data in the instance fields.

 <p> This method executes in the proper transaction context.</div>
<dl