warehouse example from the book "Play for Java"