mockejb - Framework for running EJBs

Property Value
Distribution RPM Universal
Repository JPackage 6.0 all
Package filename mockejb-0.6-0.b2.4.jpp6.noarch.rpm
Package name mockejb
Package version 0.6
Package release 0.b2.4.jpp6
Package architecture noarch
Package type rpm
Homepage -
License -
Maintainer -
Download size 117.28 KB
Installed size 125.36 KB
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.


Package Version Architecture Repository
mockejb-0.6-0.b2.3jpp.noarch.rpm 0.6 noarch JPackage 5.0
mockejb - - -


Name Value
apache-commons-logging -
jpackage-utils >= 1.7.5


Name Value
mockejb = 0.6-0.b2.4.jpp6


Type URL
Binary Package mockejb-0.6-0.b2.4.jpp6.noarch.rpm
Source Package mockejb-0.6-0.b2.4.jpp6.src.rpm

Install Howto

Fedora, CentOS, RHEL:
  1. Download 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 6.0 repository:
    # zypper addrepo jpackage-6.0
  2. Install mockejb rpm package:
    # zypper install mockejb
Mandriva, Mageia:
  1. Add the JPackage 6.0 repository:
    # urpmi.addmedia jpackage-6.0 with
  2. Update packages list:
    # urpmi.update -a
  3. Install mockejb rpm package:
    # urpmi mockejb




2012-08-23 - Ralph Apel <r.apel at> - 0:0.6-0.b2.4
- First JPP-6.0 release
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

See Also

Package Description
mockejb-javadoc-0.6-0.b2.4.jpp6.noarch.rpm Javadoc for mockejb
mockejb-manual-0.6-0.b2.4.jpp6.noarch.rpm Manual for mockejb
mockito-1.8.5-0.1.jpp6.noarch.rpm Mock objects library for java
mockito-javadoc-1.8.5-0.1.jpp6.noarch.rpm Javadoc for mockito
mockito-repolib-1.8.5-0.1.jpp6.noarch.rpm Artifacts to be uploaded to a repository library
mockito-zip-1.8.5-0.1.jpp6.noarch.rpm Container for the zipped distribution of mockito
mockmaker-1.12.0-3.jpp6.noarch.rpm MockMaker
mockmaker-javadoc-1.12.0-3.jpp6.noarch.rpm Javadoc for mockmaker
mockobjects-0.09-19.jpp6.noarch.rpm Java MockObjects package
mockobjects-alt-httpclient-0.09-19.jpp6.noarch.rpm Mockable API for Commons HttpClient
mockobjects-alt-jdk1.4-0.09-19.jpp6.noarch.rpm Mockable API for JDK 1.4
mockobjects-httpclient-0.09-19.jpp6.noarch.rpm MockObjects for Commons HttpClient
mockobjects-jdk1.4-0.09-19.jpp6.noarch.rpm MockObjects for 1.4 JDK
mockobjects-jdk1.4-j2ee1.4-0.09-19.jpp6.noarch.rpm Mockable J2EE API for JDK 1.4 and J2EE 1.4
modello-1.4.1-1.jpp6.noarch.rpm Modello Data Model toolkit