cactus does provide the ability to test ejb's (stateless/statefull session ejb's, 
entity ejb's).  it can do this easily b/c the calls are syncronous.  

mdb's are a horse of a different color.  the client posts a message to topic/queue and 
then sometime later, the mdb gets it and processes it.  it's not a make a call, get a 
response, check the response type of thing. for us, our mdb's are merely pass through 
calls onto stateless session ejb's which do the "business" work. 

i would be interested in hearing how others are doing automated testing their actual 
mdb's though.


> -----Original Message-----
> From: David Plass [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 04, 2004 8:51 AM
> To: Cactus Users List
> Subject: RE: MDB Testing
> 
> 
> With apologies to Vincent, why do you need Cactus to test MDBs? 
> 
> MDBs don't require a servlet container (which is what Cactus 
> provides). You
> can just use Junit with an 
> appropriately defined jndi.properties file that points at your EJB
> container.
> 
> --DP
> 
> 
> -----Original Message-----
> From: Srinivas Sindhey [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 04, 2004 1:00 AM
> To: [EMAIL PROTECTED]
> Subject: MDB Testing
> 
> 
> Hi Friends,
>  Has any one tested MDB's through CACTUS? If yes, could some 
> one tell me how
> do i go about it.
> 
> Thanks 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to