title: Embedding OpenEJB in a TestCase using javax.ejb.embeddable.EJBContainer
body: <p><strong>Embedding OpenEJB in a TestCase using javax.ejb.embeddable.EJBContainer.</strong></p>
  
  <p>EJBContainer container = EJBContainer.createEJBContainer(); </p>
  
  <p>always returns "null".</p>
  
  <p>How to instantiate the EJBContainer and get the context for looking up EJB 3.0 local stateless session Bean for unit testing?</p>
  
  <p>I would like to get the context from the created container rather than from initial context, how it can be done?</p>