jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: How to run Cactus integration tests on Session EJB's?
Date Sun, 23 Nov 2003 17:17:23 GMT
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:dhartford@ghsinc.com]
> 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: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message