mockejb - Framework for running EJBs

Distribution: RPM Universal
Repository: JPackage 5.0 all
Package name: mockejb
Package version: 0.6
Package release: 0.b2.3jpp
Package architecture: noarch
Package type: rpm
Installed size: 121.62 KB
Download size: 113.81 KB
Official Mirror:
MockEJB is a lightweight framework for running EJBs. MockEJB implements javax.ejb APIs and creates Home and EJBObject implementation classes for your EJBs. Internally, MockEJB relies on dynamic proxies and interceptors. MockEJB has two primary usages: * It allows for running EJBs outside of the container for unit testing.You can run EJBs directly from your favorite IDE with the minimal setup effort. * It allows for deploying mock EJBs (i.e., mock EJB implementation classes) into the container. Mock EJBs provide very effective way of isolating EJBs under test from the rest of the application. Mock EJBs return predefined test data and can override the actual "non-mock" deployed EJBs. Once again, the purpose of MockEJB is twofold and it works inside and outside of the container. So you can benefit from it even if you continue running all your test classes inside the container using Cactus. Additionally, MockEJB comes with the "mock" implementation of non-EJB APIs. Currently it provides in-memory JNDI and JMS implementations which can be used independently from MockEJB's EJB support. MockEJB is not a full-blown EJB container. It does not fully implement J2EE/EJB specs, however it supports all vital APIs.



  • mockejb = 0.6-0.b2.3jpp


    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the latest jpackage-release rpm from
    2. Install jpackage-release rpm:
      # rpm -Uvh jpackage-release*rpm
    3. Install mockejb rpm package:
      # yum install mockejb
    1. Add the JPackage 5.0 repository:
      # zypper addrepo jpackage-5.0
    2. Install mockejb rpm package:
      # zypper install mockejb
    Mandriva, Mageia:
    1. Add the JPackage 5.0 repository:
      # urpmi.addmedia jpackage-5.0 with
    2. Update packages list:
      # urpmi.update -a
    3. Install mockejb rpm package:
      # urpmi mockejb


    • /etc/maven/fragments/mockejb
    • /usr/share/doc/mockejb-0.6/ReleaseNotes.html
    • /usr/share/java/mockejb-0.6.jar
    • /usr/share/java/mockejb.jar
    • /usr/share/maven2/
    • /usr/share/maven2/poms/JPP-mockejb.pom


    2007-02-28 - Ralph Apel <r.apel at> - 0:0.6-0.b2.3jpp - First JPP-5.0 release - Add pom and depmap frags

    2005-11-11 - Ralph Apel <> - 0:0.6-0.b2.2jpp - Add OPT_JAR_LIST for tests - Add BuildRequires for asm, aspectj

    2005-10-20 - Ralph Apel <> - 0:0.6-0.b2.1jpp - First JPackage build