New addition to my to read list ONJava.com: Template-Based Code Generation with Apache Velocity, Part 2 [Jun. 02, 2004] published yesterday. Here is Part 1.
jMock – A Lightweight Mock Object Library for Java
Version 1.0.0 jMock – A Lightweight Mock Object Library for Java has been released. jMock is a framework that uses refelection (I assume) to programmatically define mock objects for unit testing. Tutorials and source code ready for downloading.
The Ted Neward Challenge (AOP without the buzzwords)
Adrian Colyer has tried to describe AOP without using the buzzwords. An attempt to answer a challenge thrown down at the last TSS symposium in The Aspects Blog. It boils down to DRY (don’t repeat yourself).
So what we’ve really got in any non-trivial software application is not the ideal 1-to-1 mapping between concept and implementation, but an n:m mapping. No wonder software gets so hard to maintain, and so hard to understand, and so complex. And it’s not your fault. The tools that object-oriented languages give us don’t enable the clean mapping of every design concept into a single implementation construct … and consequently neither do they allow each implementation construct to map cleanly onto a single design concept. This is the problem that aspect-oriented programming attempts to help us solve. It’s about getting as close to a 1-to-1 mapping as we can. AOP addresses the problem by introducing a new construct known as an aspect that is able to capture in one place the implementation of design requirements, such as the view-notification requirement [all views have to be notified if the model changes] in MVC, which OOP cannot.