EJB Testing Tools

Hi,What tools do you use to unit and integration test your Session and MD Beans (especially EJB 3.0)?MockEJB and Apache Cactus only seem to relate to EJB 2.1. Not sure about JUnit (junit.framework.ejb.ServerTestCase).Thanks!Best Regards
[271 byte] By [JUnkiea] at [2007-11-27 5:49:41]
# 1
Not a single reply yet? Don't you test your EJBs...?
JUnkiea at 2007-7-12 15:36:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I think cactus is ok for this.in my application i write a proxy that expose the ejb API for testing.in the Junit i call to this proxy
AvihaiMara at 2007-7-12 15:36:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Thanks for your reply, are you testing EJB 2.1 or EJB 3 beans with Cactus? Thanks.
JUnkiea at 2007-7-12 15:36:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
i am not using cactus.I implement my own mechanism.lets say i have a local ejb.i expose a proxy for this ejb in test package (mean that i am not deliver this package).also you can use in embedded jbos
AvihaiMara at 2007-7-12 15:36:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
Ah, so you don't test the EJB itself but you mock it in order to test the code that calls the EJB? I'm searching for something that tests the EJB itself... thanks again
JUnkiea at 2007-7-12 15:36:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
EJB testing doesn't seem to be very popular... strange. This is the Enterprise JavaBeans area... some people here must test their EJBs...
JUnkiea at 2007-7-12 15:36:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
Hi. SemmleCode ( http://semmle.com) can do some structural testing of your EJBs. Have you tried it?
elnara at 2007-7-12 15:36:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...