title: How can I get transaction event(commit, rollback)
body: <p>I created a CMT based EJB. The EJB inserts a record into the database and then it executes another code(A) asynchronously. The ejb continues it's processing so the transaction can be committed or rolledback after asynchronous call.
  In the code (A) I need to wait until the EJB's transaction committed or rolled back. Then read the record which the EJB inserted or skip next execution.
  My question is that can I notified the EJB's transaction event or have to poll until I can read the record.</p>
  
  <p>I'm working on the IBM WebSphere 7.0 (Java EE 5)</p>