Hi Darren, As you test is run from a servlet context (in a WAR), the only condition to unit test an EJB is that you are able to call it from the servlet context. Please see the section of the Cactus web site related to EJB testing for more information.
Thanks -Vincent > -----Original Message----- > From: Darren Hartford [mailto:[EMAIL PROTECTED] > Sent: 20 November 2003 20:05 > To: Cactus Users List > Subject: How to run Cactus integration tests on Session EJB's? > > Hi All, > I have cactus integration tests running great on my entity beans on the > Jboss 3.2.2 application server, this is awesome! > > Unfortunately, my beans are seperated into different JAR's (and are then > EAR'd later) and specifically the Session beans and related JAR has > dependencies on multiple entity bean JAR's (different databases). When I > try to write a simple test, I get an error back from the tests saying my > Session Bean is not bound...but the application as a whole does work fine > (2 Entity JAR's, 1 Session JAR, Session JAR has dependencies on Entity JAR > which I think Cactus does not handle as I have it setup). > > Any ideas please? > -D > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
