jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: EJB2.0 local unit test
Date Sun, 16 Feb 2003 09:24:32 GMT
Hi Francois,

AS Chris mentioned, Cactus does not yet have an EJB Redirector (although
this is planned in the todo list). However, you can still unit test
local EJBs with Cactus by writing a ServletTestCase test case class and
calling your local bean from there (see the EJB Howto tutorial on the
web site).


> -----Original Message-----
> From: Francois Zeller [mailto:Francois.Zeller@ascom.ch]
> Sent: 14 February 2003 09:50
> To: cactus-user@jakarta.apache.org
> Subject: EJB2.0 local unit test
> Hi,
> may be it's trivial but I don't find out how can I test with cactus my
> EJB2.0 Local methods.
> a short explanation:
> I've some EJB2.0 Entity beans whith only local interfaces. I'd like to
> unit-test them (and the accompanying java classes, implementing the
> from within the application server. My Idea was to use a redirector
> implemented in a session bean with remote interfaces: does cactus
> something like that ?
> Thanks in advance for any helps,
> Fran├žois

View raw message