After the article "Unit Testing for Java EE" the next part of the series with the title "Integration Testing for Java EE" discusses integration tests of JPA, CDI and EJB with maven 3. It also explains why sometimes you only can test your application efficiently with tools like arquillian, and why it is a good idea to strictly separate unit and integration tests.You will find the entire source code at http://kenai.com/projects/javaee-patterns. Feedback is, as always, highly appreciated! [see also “Injection and Infrastructure Testing with Aliens” on page 110 in Real World Java EE Night Hacks--Dissecting the Business Tier.]
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.