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

    TransactionManager lookup in JBoss AS 5.1

    Marina Popova Newbie


      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?