Java Examples in a Nutshell is chock-full of real-world Java programming examples. The second edition of this book covers Java 1.3 and contains 164 complete, practical examples: over 17,900 lines of densely commented, professionally written Java code covering 20 distinct Java APIs, including servlets, JSP, XML, Swing, and Java 2D. The author of the bestselling Java in a Nutshell has created an entire book of example programs that you can learn from and modify for your own use.
If you learn best "by example," this is the book for you.
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 also include accelerated tutorials on various Java topics. Java Examples in a Nutshell picks up where those books leave off, providing a suite of example programs for novice Java programmers and experts alike.
This book doesn't hold your hand or supply detailed explanations of Java syntax or method calls; it simply delivers well-commented working examples that help you explore the wide range of what is possible with Java. Each chapter concludes with programming exercises that suggest further avenues for building on what you have learned.
Java Examples in a Nutshell contains the following:
• Examples that demonstrate basic Java functionality and essential Java APIs, including 1/0, 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 QSP), and XML
• An example index that allows you to look up a programming concept or Java class and find any examples in the book that demonstrate that concept or use that class