You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Willie Vu <ct...@ust.hk> on 2003/04/01 08:13:13 UTC

RE: How to use Cactus to test EJB?

Vincent,

I dig up some threads where you said EJB will be a focus for Cactus 1.6.  Is
there any initial work someone is working on?

For the time being, can you suggest some ideas to implement a workaround
solution for EJB unit test in Cactus/Maven?
 
--
Willie Vu



> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com] 
> Sent: Monday, March 31, 2003 1:35
> To: 'Maven Users List'
> Subject: RE: How to use Cactus to test EJB?
> 
> 
> Unit testing EJB is not yet supported by the Cactus plugin for Maven.
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: Willie Vu [mailto:ctwillie@ust.hk]
> > Sent: 31 March 2003 04:24
> > To: 'Maven Users List'
> > Subject: How to use Cactus to test EJB?
> > 
> > Is there any documentation on how to use Maven Cactus plugin to test
> EJB?
> > 
> > --
> > Willie Vu
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: How to use Cactus to test EJB?

Posted by vm...@pivolis.com.
Quoting Willie Vu <ct...@ust.hk>:

> Vincent,
> 
> I dig up some threads where you said EJB will be a focus for Cactus 1.6.
>  Is
> there any initial work someone is working on?

Not much. There has been the start of an EJB redirector in the past but it has 
n't been integrated.

> 
> For the time being, can you suggest some ideas to implement a
> workaround
> solution for EJB unit test in Cactus/Maven?

The workaround is to patch the Cactus/Maven plugin by adding support for EAR. 
More specifically this means adding:
- cactification of an EAR (the script already has cactification of a WAR). 
- modify the container-specific scripts to support deploying an EAR (for JBoss 
it is almost transparent as WAR and EAR are deployed in the same directory).

It shouldn't be too hard to do. I can certainly provide guidance if you're 
interested in participating!

Thanks
-Vincent

>  
> --
> Willie Vu
> 
> 
> 
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com] 
> > Sent: Monday, March 31, 2003 1:35
> > To: 'Maven Users List'
> > Subject: RE: How to use Cactus to test EJB?
> > 
> > 
> > Unit testing EJB is not yet supported by the Cactus plugin for Maven.
> > 
> > Thanks
> > -Vincent
> > 
> > > -----Original Message-----
> > > From: Willie Vu [mailto:ctwillie@ust.hk]
> > > Sent: 31 March 2003 04:24
> > > To: 'Maven Users List'
> > > Subject: How to use Cactus to test EJB?
> > > 
> > > Is there any documentation on how to use Maven Cactus plugin to
> test
> > EJB?
> > > 
> > > --
> > > Willie Vu
> > > 
> > > 
> > > 
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org