ObMimic System Requirements
A normal installation of ObMimic occupies less than 50 MB of disk space.
Prerequisites for compiling and running tests that make use of ObMimic are:
- A JDK or JRE for Java™ SE 6 or higher (with use of the latest Java SE release recommended, and subject to any higher requirements imposed by any other code or libraries that you are using).
- A suitable Servlet API or Java EE API library. That is, a “servlet.jar”, “servlet‑api.jar”, “javax.servlet‑api‑*.jar”, “javaee.jar” or other such Servlet or Java EE library that provides the Servlet API and that is not restricted to compile‑time use only (as explained below). For this release of ObMimic, any such library for Servlet versions 2.4, 2.5, 3.0 or 3.1 can be used (with Servlet 3.1 recommended). Note that any code that you want to test using ObMimic will inevitably have its own dependency on the Servlet API, so a suitable library will often already be present (though it may need to be added to the classpath used for compiling and running your tests, as your tests may not have called any of your servlet code before). However, also note that at present some of the Java EE API jars distributed by Oracle are deliberately restricted to compile‑time use only (such as the “javaee‑api‑7.0.jar” and “javaee‑web‑api‑7.0.jar” archives available from the java.net website and elsewhere), and are thus not suitable for use when running ObMimic‑based tests.
- If running on Java SE 9 and not using a full Java EE API
library for Java EE 5 or higher, a suitable
“Common Annotations” module/library will also be
required in order to provide the
javax.annotationpackage or equivalent. On Java SE 9 this is built into the JDK/JRE but by default is not included in the run-time classpath, so must either be explicitly requested by means of a JVM command-line argument of “--add-modules java.xml.ws.annotation” or must be supplied by adding a separate “Common Annotations” library to the classpath.
The current release of ObMimic does not require or depend on any other libraries, and ObMimic does not require any application server or servlet container to be present.
In addition, note that the “Enterprise Edition” of ObMimic has additional prerequisites if you want to use its build script to produce your own customized versions of ObMimic. Refer to the Enterprise Edition’s document for full details.