Using The Glassfish EJBContainer in Netbeans.
As many already know, one of the features of Java EE 6 is the javax.ejb.embeddable packages that allows you to create an embedded EJB container through EJBContainer.createEJBContainer(). This is a useful feature when you want to write a unit test for your EJB's.
Sometimes you want a little bit more control over what is configured in the embedded EJBContainer. In this entry we will look at how we can specify a custom domain.xml to use with glassfish v3 implementation of this embedded container.
Continue Reading…Posted by verborghs on Aug 05, 2010