1 Reply Latest reply on Apr 19, 2005 3:56 PM by robinroos

    Synchronization

    robinroos

      Hello

      I need to register a Synchronization object which will receive afterCompletion() invocations - or the equivalent - AFTER all resources in the transaction have been committed.

      I could register against the javax.transaction.Transaction instance or against the javax.ejb.UserTransaction instance.

      Is either of these preferable? Is there a specific JNDI name I should use?

      My code runs variously within Stateless Session EJBs and Message-Driven EJBs.

      Thanks, Robin.