Ruminations on Development
Cleansing Of The Email
One of the ways that I keep myself organized is by sending myself emails in GMail... I usually put links to things I want to look at later, and since I'm now doing a cleansing of my "note to self" emails, you get to benefit! :-)
Mockito - The New Mock Framework on the Block
:
is being choked on (because it's so heavy) by some of our developers.
The capture-recapture code inspection
:
Ajax testing with Selenium using waitForCondition
:
Tom Brady on Software Management
:
.
JSONVid: Pure JavaScript Video Player
:
Posted at 09:11PM Sep 09, 2008 by Nelson "Nelz" Carpentier in Links | Comments[0]
Back in Action!
I am now back from Burning Man
, and having a fairly smooth re-adjustment to this so called real world.
with Spring's AOP
framework, I didn't realize that there were challenges getting AOP to work when a member method calls to a sibling method.
Here's an example I've borrowed from some discussion
of this phenomenon
:
public class MyService {
public methodA()
{
//do something
methodB();
//do something
}
public methodB()
{
//do something else
}
}
Now both the method in the service have been AOPed, and when I call the methodA() on the proxied instance, the methodA() will have the benefit of the aspect, but when the methodB() gets called from methodA(), it would not get that benefit of AOP.
Used strategically, I think this can be a benefit. When I came upon this problem, I basically used it as an opportunity to refactor "methodB" (and it's associated overhead) into a new stand-alone class. This may not always solve your specific problem, but it worked in my one case so far.
Posted at 08:11PM Sep 09, 2008 by Nelson "Nelz" Carpentier in Java | Comments[0]