Using Groovy to parse an XML document and allowing Java to make OO calls to get node values rather than bogging down in DOM calls.
Introduction to J2ME techniques in "Scratch", a simple MIDlet that captures signatures as collections of points.
An introduction to thread synchronization issues, including deadlock and how to avoid it.
This excerpt from James Elliot's "Hibernate: A Developer's Notebook" shows you how to use simple criteria, compound criteria, apply criteria to associations, and query by example using Hibernate.
We present two chapters from Budi Kurniawan's book, "How Tomcat Works." These excerpts include an explanation of the workings of Lifecycle and Container.
Java Tech columnist Jeff Friesen takes the game logic developed in his last installment and builds out two complete games of Nim: a console version and a GUI version.
Jeff Friesen shows how to play a simple game, Nim, and how to write a computer opponent in Java .
Jack Herrington further develops code generation tools with support for "safe zones," allowing handwritten and generated code to coexist.
Jack Herrington introduces an XSLT-based workflow for automatically generating Java code from XML descriptor files.
The new variable arguments ("varargs") Java language feature makes many method calls more convenient, and enables a new C-style printf() function.