MockEJB is a lightweight EJB/J2EE framework/container geared toward providing a convenient and easy-to-use environment for EJB 2.0 and J2EE testing without having to use a full-blown application server.

The goal of MockEJB is to take the complexity out of J2EE and let developers focus on writing the application code instead of worrying about application server configuration and deployments.

The official MockEJB site is, you can download it from sourceforge download page.

MockEJB is no longer maintained as it was superseded by EJB 3.0 and Spring.