jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Urgent - EJB local interface and problem with extend Cactus TestCase
Date Sat, 06 Sep 2003 07:08:50 GMT
Hi Veny,

1. Yes, there's an EJB tutorial. Check the Cactus web site. No, the
Eclipse plugin does not yet support EJB/EARs.
2. The simplest is to package the WAR in an EAR.
3. For the NoSuchMethodError, I'll need more info to help you but it
seems you may be compiling your code with a version of Cactus and
executing it with another.


-----Original Message-----
From: veny [mailto:veny@p2h.com.sg] 
Sent: 22 August 2003 12:19
To: cactus-user@jakarta.apache.org
Subject: Urgent - EJB local interface and problem with extend Cactus

I am a Cactus newbie.
Have some question regarding testing EJB with local interface.
1. is there any detail tutorial showing how should the ejb & test be
deployed? preferably with Eclipse integration.
2. Due to the restriction that test case should be run within the same
container as the ejb. how should the war file be packed? (to be more
exact, what package hierachy should it be like) and where directory
should it be deployed?
And when i tried to run EJB with remote interface, if my testcase extend
normal Junit TestCase, the test case run fine. but when i extend any of
the Cactus TestCase (JspTestCase, ServletTestCase, .. ) i'll hit problem
of 'NoSuchMethodError' at my test method. Any one resolved this before?
Thanks very much. 
Veny Handoko

View raw message