jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laurent.duper...@masq.ca
Subject Re: Refactoring question
Date Wed, 24 Apr 2002 18:40:45 GMT
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 Cactus that I'm eventually going to
> work into one of the sample applications. If you're interested, you can
> start by checking out:
> http://www.aspectj.org
> or
> http://www-106.ibm.com/developerworks/library/j-aspectj/index.html

Ok, I'll look this over.

> I'm kind of amused by reading your code, it looks almost exactly like some
> code I've written, right down to:
> HandlerHome home = EjbUtil.lookupHome(Handler.class, jndiName);

What is it they say about great minds? :-)


Laurent Duperval <mailto:laurent.duperval@masq.ca>

    The first myth of management is that it exists.

To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>

View raw message