adam bien's blog
Myths, Oracles and Mockitos--How To Unit Test Java EE 6 Applications (Free Article) 📎
The free article Unit Testing for Java EE describes unit testing and mocking of Java EE 6 (CDI, JPA and EJB) applications. The subsequent articles will focus on integration and load testing.
[See also page 109 "Unit Test Is Not Integration Test" and page 151 "Java EE Loves Stress and Laughs About JUnit" in Real World Java EE Night Hacks--Dissecting the Business Tier.]