Metaprogramming Java with HiveMind and Javassist
Howard Lewis Ship, Independent Software Consultant, Tapestry World Domination, Inc.
Date: Wednesday, July 26
Time: 10:45am - 11:30am
Metaprogramming is typically driven by some form of declaration that describes what functionality is desired and where: we'll focus on using Java annotations for this role. Well combine that with the use of the HiveMind inversion of control container to provide structure to our code, and the Javassist bytecode library, to extend the behavior of our services at runtime, adding logging, transaction, and security concerns to our services without writing any specific code. Instead, writing meta code, "code that writes code," code that can be written, tested, and maintained just once, and then used in new contexts endlessly!