MockEJB

MockEjb is a lightweight framework for running EJBs outside of the container for unit testing. MockEjb allows you to run EJBs directly from your favorite IDE with the minimal setup effort. MockEjb is not a full-blown (or even half-blown) EJB container. MockEjb does not fully implement EJB or any other J2EE spec. It merely provides a convenient and realistic EJB testing environment using mock objects approach.