The 0.0.4 version of Java EE Maven Archetype comes with JPA EntityManager mocking example and dedicated JAX-RS system tests.Execute the
javaee-bce-archetypearchetype from the command line and choose version v0.0.4 to create a sample Java EE project with Boundary / Control / Entity (BCE) structure, unit-, integration-, stress-, and system tested:
mvn archetype:generate -Dfilter=com.airhacks:javaee-bce-archetype
The sources of the sample project are also available directly: https://github.com/AdamBien/javaee-bce-pom.
Thanks Dirk Franssen for the pull request!