Hi, I have a specific ApplicationComposer setup for Unit tests and get access to my EJBs via injection. So far, so good...
Using Hibernate, it confirms the situation: [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured Now I would like to have the binding of the JNDI interface to the existing Sessionfactory for other test cases. I know the regular setup is done in the @Configuration method: InitialContext initialContext = new InitialContext(p); I can't use this because of the persistence unit and the EJB jars loaded before and the object can't be double-bounded. How can I get access to the initialcontext? Kind regards, Andreas -- View this message in context: http://openejb.979440.n4.nabble.com/How-to-create-JNDI-interface-in-Application-Composer-later-tp4663243.html Sent from the OpenEJB User mailing list archive at Nabble.com.
