Teach Yourself JAVA in 21 Days covers the basics of Java in the first few chapters, and then moves on to practical issues of Java and in-depth discussions of more advanced topics. Later chapters also delve into software engineering topics, with discussions of modular code and object-oriented programming. CGI is covered in one chapter, but it is not the focus on the book.
The book relies heavily on longer working examples and code, as opposed to small snippets and code fragments, and each chapter includes two to three smaller complete examples and one major one that illustrates most of the concepts for that chapter and builds on the chapters before it. Written by Laura Lemay, this is her third major book after Sams Teach Yourself Web Publishing with HTML in 21 Days and Sams Teach Yourself Pearl in 21 Days.