Java Notes and Spikes

On April 14th, 2003 I passed by Sun Certified Java Programmer (1.4 platform) exam. I'm glad that it's over. Now I can learn to think in better languages.

articles

JUnit Cheat Sheet
Minimal code templates for JUnit 11/30/02

Getting Productive with Java
You've done the java training course, you've compiled small java programs, but you don't know how to assemble and manage a substantial java project... 09/01/02

spikes

In XP a spike is a minimal, self-contained program that demonstrates how to do a single thing. A spike allows you to trade time for concrete knowledge without messing up the existing code. We call them spikes because "a spike is very thin and goes from end to end."

Java Spike: Dynamic Proxies
03/13/03

Java Spike: ClassLoader
If you can get your bytecode into an array of bytes then you can get that bytecode loaded into the JVM as though it were deployed as an ordinary class. 03/13/03

Java Spike: LoadAndListInterface
You can write code that assembles parts of itself at runtime. To do this you need to be able to load an arbitrary class, check that it implements an interface that you understand, and finally you need to instantiate an object of that class. 12/20/02