Best current framework for unit testing EJB3 / JPA

Posted by kennygrimm on Stack Overflow See other posts from Stack Overflow or by kennygrimm
Published on 2010-03-21T02:26:39Z Indexed on 2010/03/21 2:31 UTC
Read the original article Hit count: 715

Filed under:
|
|
|
|

Starting new project using EJB 3 / JPA, mainly stateless session beans and batch jobs. I've used JUnit in the past on standard Java webapps and it seemed to work pretty well. In EJB2 unit testing was a pain and required a running container such as JBoss to make the calls into. Now that we're going to be working in EJB3 / JPA I'd like to know what companies are using to write and run these tests. Are Junit and JMock still considered relevant or are there other newer frameworks that have come around that we should investigate?

© Stack Overflow or respective owner

Related posts about junit

Related posts about j2ee