0 Replies Latest reply on Aug 27, 2010 10:14 AM by ppine7

    TransactionManager lookup in JBoss AS 5.1

    ppine7

      Hi,

      I'm wondering if it is safe to store and reuse a reference to the TransactionManager that I get by doing a lookup in the JBoss AS5.1:

       

            TransactionManager transactionManager = (TransactionManager) initialContext.lookup("java:/TransactionManager");

       

      Is it implemented as a proxy (like EJBs) in which case caching a reference to it would not be a good idea or is it something else?

       

      thanks,

      Marina