On 24 Apr, Vincent Massol wrote:
>> In order to test properly, there needs to be
>> a
>> refactoring of the service method so that I can write a test for it
>> specifically, without needing to have a container running that will
> give
>> me
>> the correct home for the handler and all the rest of t
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 24 April 2002 17:50
> To: Cactus Mailing List
> Subject: Refactoring question
>
> Hi,
>
> We're building a servlet which receives some parameters as input and
calls
On 24 Apr, Nicholas Lesiecki wrote:
> I actually have an article coming out on IBM developerWorks in May on
> testing just such a situation. :) The short answer is to use AspectJ to
> replace certain calls (for instance, to your EjbUtil class) when running
> tests. The article runs a test suite in
AIL PROTECTED]]
Sent: Wednesday, April 24, 2002 9:50 AM
To: Cactus Mailing List
Subject: Refactoring question
Hi,
We're building a servlet which receives some parameters as input and calls a
handler based on the input parameters. How that works is that one of the
parameters is used as the JNDI name
Hi,
We're building a servlet which receives some parameters as input and calls a
handler based on the input parameters. How that works is that one of the
parameters is used as the JNDI name of the home interface of the handler. We
pass that parameter to a static utility method which will return t