Posted by evanx
on November 5, 2006 at 11:32 PM PST
After a sideways weekend in the winelands with a lunatic mate visiting this lunatic at full moon, and it now being monday morning, it's appropriate for me to look at moving boilerplate code sideways into a peer class, so that our main classes are a bit neater.
vspace=8 hspace=16 align=left />
Here is an extract from an upcoming article, called "Enhanced DTs" about EDT "boilerplate" programming, which i'm publishing in smaller more manageable doses. (Manageable for me.)
It starts off looking at moving our boilerplate sideways into a separate class, which we present here, and then later we'll look at using CGLIB's interceptor
mechanism (which CGLIB calls an "enchancer," hence the name of the article). On the way, we explore some other interesting EDT stuff like Foxtrot.
Enter the Boiler Room .