[jboss-user] [EJB 3.0] - Recommended testing framework

adam.conroy do-not-reply at jboss.com
Tue Dec 11 18:16:02 EST 2007

Hi, I have spent the past 2 days implementing Cactus into my JBOSS 4.2.2 server with EJB 3.0 only to find, after much struggling, that it does not support (easily) JBOSS4x nor does it support EJB 3.0, nor even Ant 1.7.

I've done quite a bit of research that is (hopefully) non-exhaustive. The options I've found to test with are:

Seam (looks like it uses Cactus, though, is it beefed up for 1.5?)
J2EEUnit (dead project)
JBOSS Embedded

My question is: what is the recommended way to test EJB3's? Ideally, from within a container, though not necessary.

I'm coming from a Tomcat+Spring+Struts background where we just instantiated the Spring context and let the IoC do its thing and just not commit transactions in integration tests.

Is there a comparable strategy in a JBOSS4 project? This is a mature product that I am working on so any drastic/large framework changes are out of the question.

Thank you,
Adam Conroy

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112113#4112113

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112113

More information about the jboss-user mailing list