One thing to remember is that the web tier can almost always "see" up into
the ejb tier.  Because of this, you can place your tests right next to your
beans and the web tier (ServletTestCase) can access them.  This is how we
test our EJBs.  I don't use struts so I can't help you there.

> -----Original Message-----
> From: hossein rahmani [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 02, 2004 9:00 AM
> To: cactus mailist
> Subject: cactus+ struts+ejb
> 
> 
> Dear All ,HI,
>          All the cactus samples .i have seen , they just test 
> the web tier <i.e struts> alone , without testing the web 
> tier and its intraction with ejb tier,
> most of the samples try to avoid testing the intraction 
> between struts and ejb tiers by inserting some hard code to 
> the struts code < for example for loginAction they just 
> hardcode and check for the pre-specified username and 
> password >,but dose anyone has sample that test the struts 
> and ejb together , and ideally use Ant as build tool.
>  
> bye.
> 
> 
> 
> ---------------------------------
> Find local movie times and trailers on Yahoo! Movies.
> 

Reply via email to