Embedding
The basic process for embedding OpenEJB:
-
Add the OpenEJB libraries to your classpath
-
Ensure your EJB modules are discoverable
-
Use the LocalInitialContextFactory to boot OpenEJB
Important docs
-
Unit Testing Transactions
-
TestCase with TestBean inner-class