Code samples from the book Server Side Java - Conceptual Foundations