Jump to ratings and reviews
Rate this book

In a Nutshell

Java Examples in a Nutshell: A Tutorial Companion to Java in a Nutshell

Rate this book
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 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 APIs, including I/O, New I/O, threads, networking, security, serialization, and reflectionDesktop APIs, highlighting Swing GUIs, Java 2D graphics, preferences, printing, drag-and-drop, JavaBeans, applets, and soundEnterprise APIs, including JDBC (database access), JAXP (XML parsing and transformation), Servlets 2.4, JSP 2.0 (JavaServer Pages), and RMIThe 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.

722 pages, Kindle Edition

First published January 15, 1997

6 people are currently reading
108 people want to read

About the author

David Flanagan

31 books33 followers
David Flanagan is a computer programmer who has spent much of the last 20 years writing books about programming languages. He now works at Mozilla. David lives with his wife and children in the Pacific Northwest, between the cities of Seattle and Vancouver.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
18 (18%)
4 stars
27 (28%)
3 stars
33 (34%)
2 stars
15 (15%)
1 star
3 (3%)
Displaying 1 - 3 of 3 reviews
3 reviews
July 4, 2009
Useful book-- Flanagan's code fragments are a little more detailed than the snippets you might find in other books of this type. Somewhat old--an update to cover Java 5 or 6 would have been welcome.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.