MockEjb is the lightweight framework for running EJBs outside of the =
container for unit testing. With MockEjb developers can instantly run =
EJBs and their test classes directly from IDE without having to deal =
with the complexity of EJB deployment.
MockEjb supports most of javax.ejb interfaces. MockEjb allows for =
testing of EJBs that rely on JNDI and require transaction support. =
MockEjb comes with the simple API that allows for fully configuring it =
in setUp method of a test class. Additionally, MockEjb can be easily =
extended using its implementation of the interceptor pattern.