I thought cactus was a web testing framework, so I'm not sure how it would apply to testing ejbs. I know essentially nothing about it however.

You might take a look at the openejb/geronimo itest module, which uses the itest plugin to

start geronimo
deploy and start several j2ee packages to geronimo
run (junit) tests against the remote server
stop and undeploy the j2ee packages
stop geronimo

You'd have to figure out a way to start and stop jboss.
If you are using jboss 4 they might have a jsr-88 command line tool of some kind you could use for the deploy/start/stop/undeploy actions.
For jboss 3, in the distant past I wrote an ant task that did essentially the same thing, but I have no idea if it has been removed from the jboss source tree or not. There may be an ant jmx task of some sort that could be used for the same purpose.



openejb: http://www.openejb.org You want openejb 2, not 1 geronimo: http://geronimo.apache.org

david jencks

On Jan 16, 2005, at 2:22 PM, Filip Polsakiewicz wrote:

Hi all,

I desperately need some help on using Maven with Cactus and JBoss. I want to
test my EJBs within my Maven build. Now the Problem is that I couldn't find
any good tutorial on this combination. Can anybody point me to some
information on how to get started? Some code samples would also be much
appreciated.




Thanks,



Filip



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to