Join Books.org — it's free

Java Examples in a Nutshell by David Flanagan β€” book cover
Computer Programming, Programming Languages

Java Examples in a Nutshell

by David Flanagan, Brett McLaughlin
Available on Bookshop Write a review

Books.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.

Log in to track your reading progress.

Overview

The author of the best-selling Java in a Nutshell has created an entire book of real-world Java programming examples that you can learn from. If you learn best "by example," this is the book for you.

This third edition covers Java 1.4 and contains 193 complete, practical examples: over 21,900 lines of densely commented, professionally written Java code, covering 20 distinct client-side and server-side APIs. It includes new chapters on the Java Sound API and the New I/O API. The chapters on XML and servlets have been rewritten to cover the latest versions of the specifications and to demonstrate best practices for Java 1.4. New and updated examples throughout the book demonstrate many other new Java features and APIs.

Java Examples in a Nutshell is a companion volume to Java in a Nutshell, Java Foundation Classes in a Nutshell, and Java Enterprise in a Nutshell. It picks up where those quick references leave off, providing a wealth of examples for both novices and experts. This book doesn't hold your hand; it simply delivers well-commented working examples with succinct explanations to help you learn and explore Java and its APIs.

Java Examples in a Nutshell contains examples that demonstrate:

  • Core APIs, including I/O, New I/O, threads, networking, security, serialization, and reflection
  • Desktop APIs, highlighting Swing GUIs, Java 2D graphics, preferences, printing, drag-and-drop, JavaBeans, applets, and sound
  • Enterprise APIs, including JDBC (database access), JAXP (XML parsing and transformation), Servlets 2.4, JSP 2.0 (JavaServer Pages), and RMI
The book begins with introductory examples demonstrating structured and object-oriented programming techniques for new Java programmers. A special index at the end of the book makes it easy to look up examples that use a particular Java class or accomplish a desired task. In between, each chapter includes exercises that challenge readers and suggest further avenues for exploration.

Designed to accompany Java in a Nutshell, this companion tutorial provides practical, real-world Java programming examples. Intended for novice and advanced Java programmers, the book is grouped by skill level.

Synopsis

From the author of "Java in a Nutshell" comes "Java Examples in a Nutshell"—chock-full of practical, real-world Java programming examples that readers can learn or modify for their own use. A must-have for anyone who prefers to learn "by example".

About the Author, David Flanagan

David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and son in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a simple website at http://www.davidflanagan.com.

Reviews

There are no reviews yet. Log in to write one.

Editorials

From Barnes & Noble


Fatbrain Review

Designed to accompany Java in a Nutshell, this companion tutorial provides practical, real-world Java programming examples. Intended for novice and advanced Java programmers, the book is grouped by skill level.

Like his previous Java books, author David Flanagan maintains his cut-to-the-chase approach. He teaches by example, and he doesn't include detailed documentation of the exact syntax and behavior of Java statements. Instead, he includes examples from the first and the second (Java 1.1) editions of Java in a Nutshell. He also covers the new AWT event handling model, the JavaBeans API, internationalization, reflection and object serialization. You will find new programming examples for RMI, database connectivity and security. There are also practical examples for I/O, networking and GUIs. The appendix contains Swing, a set of new, cross-platform, lightweight components that form part of the forthcoming Java Foundation Classes (JFC). The end-of-the-chapter exercises provide further avenues for exploring the Java programming.

Book Details

Published
January 1, 2004
Publisher
O'Reilly Media, Incorporated
Pages
722
Format
Paperback
ISBN
9780596006204

More by David Flanagan

Similar books