Starting an embeddable EJB container as:
try (EJBContainer container =
javax.ejb.embeddable.EJBContainer.createEJBContainer()) {
...
}
gives:
javax.ejb.EJBException: No EJBContainer provider available: no
provider names had been found.
at javax.ejb.embeddable.EJBContainer.reportError(EJBContainer.java:216)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:146)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
at org.javaee7.ejb.embeddable.MyBeanTest.testSayHello(MyBeanTest.java:80)
Which JAR contains the embeddable EJB container ?
Arun
--
http://blog.arungupta.me
http://twitter.com/arungupta