Hi, > -----Original Message----- > From: Rademacher Tobias [mailto:[EMAIL PROTECTED]] > Sent: 27 November 2002 12:34 > To: '[EMAIL PROTECTED]' > Subject: [cactus-plugin] How to test ejb? > > > Hi Folks, > > I would like to test ejb's with ServletTetsCases... > > As far as I know the cactus plugin takes a war file, adds the > testcases + > necessary libs, deploys it and tests... > > So far so good. > > My question would it work to use cactus & ejb's using the > following workflow > in maven.xml: > > 1) java:compile the sources > 2) assemble them into a ejb-jar > 3) create a wrapper war > 4) let cactus include the testcases and the necessary libs > into the war file > > 5) assemble everything into a ear file > 6) deploy the ear file (in my case copy it into the jboss deploy dir) > 5) run testcases (maybe I can use cactus tomcat-test because it is > integrated into jboss.) > > Will that work? Any suggestions?
Yes this will work. This is similar to the workflow that I have as part of one of my projects which I discussed in a previous email to this list (http://nagoya.apache.org/eyebrowse/ReadMsg?listName=turbine-maven-user@jaka rta.apache.org&msgNo=1756). Bear in mind that the details of the archived mail above *may* need updating seeing as the ejb goal has recently been added. Regards, Tom -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
