Java Examples in a Nutshell is full of real-world Java programming examples. The second edition of this bestselling book covers Java 1.3 and contains 164 complete, practical programs: over 17,900 lines of densely commented, professionally written Java code covering 20 distinct Java APIs, including Servlets, JavaServer Pages, XML, Swing, and Java 2D. David Flanagan, the author of Java in a Nutshell, has created an entire book of programs that readers can learn from and modify for their own use.
This book is a companion volume to Java in a Nutshell,Java Foundation Classes in a Nutshell, and Java Enterprise in a Nutshell. While those books are quick references at heart, they each include accelerated tutorials on various Java topics. Java Examples in a Nutshell picks up where those books leave off, serving up a suite of example programs for novice Java programmers and experts alike. This book doesn't hold readers' hands or supply detailed explanations of Java syntax or method calls; it simply delivers well-commented working examples for exploring the wide range of what's possible with Java. Each chapter concludes with programming exercises that suggest avenues for building further knowledge.
Java Examples in a Nutshell contains the following:
Examples that demonstrate basic Java functionality and the essential Java API's, including I/O, threads, networking, security, reflection, serialization, and security.
Programs that use the graphical user interface and graphics features of Java, highlighting the Swing, Java 2D, printing, data transfer, JavaBeans, and applet APIs.
Examples that illustrate key enterprise APIs in Java, including remote method invocation (RMI), database connectivity (JDBC), servlets, JavaServer Pages (JSP), and XML.
An example index that lets users look up a programming concept or Java class and find any examples in the book that demonstrate that concept or use that class.