Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
38 used & new from $4.98

Have one to sell? Sell yours here
 
   
Java Examples in a Nutshell, 3rd Edition
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  
4.5 out of 5 stars See all reviews (10 customer reviews)

List Price: $39.95
Price: $26.37 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.58 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 1 left in stock--order soon (more on the way).

Want it delivered Tuesday, July 7? Choose One-Day Shipping at checkout. Details
27 new from $19.98 11 used from $4.98
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Java In A Nutshell, 5th Edition and get Java Examples in a Nutshell, 3rd Edition at an additional 5% off Amazon.com's everyday low price.

Java In A Nutshell, 5th Edition + Java Examples in a Nutshell, 3rd Edition
Buy Together Today: $54.72

Show availability and shipping details

  • Java In A Nutshell, 5th Edition

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • This item: Java Examples in a Nutshell, 3rd Edition

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Java In A Nutshell, 5th Edition

Java In A Nutshell, 5th Edition

by David Flanagan
4.2 out of 5 stars (32)  $29.67
Java Cookbook, Second Edition

Java Cookbook, Second Edition

by Ian Darwin
4.5 out of 5 stars (32)  $32.97
Head First Java, 2nd Edition

Head First Java, 2nd Edition

by Kathy Sierra
4.4 out of 5 stars (240)  $29.67
Learning Java

Learning Java

by Pat Niemeyer
3.7 out of 5 stars (66)  $29.67
Effective Java (2nd Edition) (Java Series)

Effective Java (2nd Edition) (Java Series)

by Joshua Bloch
4.9 out of 5 stars (35)  $40.50
Explore similar items

Editorial Reviews

Review
"This essential, learn-as-you-go tutorial invites new and seasoned Java developers to let go of worries about the complexity and sophistication of Java and simply jump in and try effective new programming techniques and code. It's a very good place to start if you're thinking of trying something new." Industrial Networking & Open Contol, April 2004 "This is not, perhaps, for the gnarled old 'sandals and beard' developer at the back of the office, but if you're a junior developer, or perhaps a highly experienced developer moving into Java for the first time, you won't find much better reading, and doing, than this." - Davey Winder, PC Plus, Nov (Rating 9/10)

Product Description
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.

See all Editorial Reviews


Product Details

  • Paperback: 720 pages
  • Publisher: O'Reilly Media, Inc.; 3rd edition (January 1, 2004)
  • Language: English
  • ISBN-10: 0596006209
  • ISBN-13: 978-0596006204
  • Product Dimensions: 8.9 x 6 x 1.1 inches
  • Shipping Weight: 1.9 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars See all reviews (10 customer reviews)
  • Amazon.com Sales Rank: #57,144 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #99 in  Books > Computers & Internet > Programming > Java

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Java Examples in a Nutshell, 3rd Edition
66% buy the item featured on this page:
Java Examples in a Nutshell, 3rd Edition 4.5 out of 5 stars (10)
$26.37
Java In A Nutshell, 5th Edition
14% buy
Java In A Nutshell, 5th Edition 4.2 out of 5 stars (32)
$29.67
Java Cookbook, Second Edition
9% buy
Java Cookbook, Second Edition 4.5 out of 5 stars (32)
$32.97
Head First Java, 2nd Edition
6% buy
Head First Java, 2nd Edition 4.4 out of 5 stars (240)
$29.67

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(2)
(1)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

10 Reviews
5 star:
 (8)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (10 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
23 of 24 people found the following review helpful:
4.0 out of 5 stars Great for core Java API - J2EE section weak, March 21, 2004
In this 3rd edition, author David Flanagan has updated the book with coverage of Java 1.4. In keeping with the tradition of the other nutshell books, this book is an instant must-have book. This book is divided into 4 sections. The first section is a short yet very nice Java and OO tutorial. This book is not meant to replace your regular tutorial book, but can certainly act as that for someone who already knows the basics and is trying to bone up on the language API and usage.

The second section of the book covers the core Java API, including I/O, NIO, threads, networking, security and cryptography, serialization, and reflection. This section of the book is really solid and includes great working and commented examples of most of the core set of Java API. I really liked the network section as it includes code that will fulfill most of your needs in terms of network related development.

The third section of the book deals with graphics and user-interface including Swing, Java 2D graphics, preferences, printing, drag-and-drop, JavaBeans, applets, and sound. Not being much of a UI guy, I glossed over most of this section but it seemed complete and comprehensive. I know where I am going to turn if I ever need to work with Swing or applets.

The last section of the book includes coverage of the server-side Java or J2EE development, including JDBC, JAXP (XML parsing and transformation), Servlets 2.4, JSP 2.0, and RMI. Being a back-end or server side developer, I spent a lot of time consuming this section and I was very impressed with the quality of the coverage, explanation and examples included in this section. The section starts off with a nice introduction to JDBC, database metadata and includes some nice examples configurable example that are ready for use with little or no modifications. I think that's important to new developers that are getting familiar with an API. In reading the code, it was nice to see the author using the execute() method instead of executeUpdate() or executeQuery() method along with a simple explanation of why he is doing that. Sounds simple, but I can't tell you the number of times junior developers have come to me and asked me about this exact topic.

After JDBC, the book jumps into XML with a nice intro to SAX, DOM, and XSLT. Not a lot of meat here, but XML is always a moving target in terms of the API. I wish this section had a little more to it as it is missing the whole idea of Java-XML data binding which is a useful topic. After XML, the book moves over to Servlets and JSP. Nice intro to servlets and JSP, but leaves you wanting more. I think the whole server-side Java just needs to be another book and I think David should just come up with a Java Enterprise Examples in a nutshell. O'Reilly already has some great books in this category including the Java Servlet and JSP cookbook.

Having said all that, I still really like this book for how it deals with the core API. This book contains 193 complete, documented examples which makes it a must for any junior developer that knows or is learning Java and wants to know how to apply the API. The examples from this book are available for download from the author's website located at davidflanagan dot com.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 14 people found the following review helpful:
5.0 out of 5 stars A must-buy book for your Java library, March 13, 2004
By Thomas Duff "Duffbert" (Portland, OR United States) - See all my reviews
(TOP 50 REVIEWER)    (REAL NAME)      
Target Audience
Java developers who are looking for working examples of code that illustrate specific concepts.

Contents
This book is a companion volume to the Java/Java Enterprise/Java Foundation Classes In A Nutshell books. It provides code examples for many of the classes used in those books.

The book contains the following chapters:

Part 1 - Learning Java - Java Basics; Objects, Classes, and Interfaces

Part 2 - Core Java APIs - Input/Output; Threads; Networking; New I/O; Security And Crytography; Internationalization; Reflection; Object Serialization

Part 3 - Desktop Java APIs - Graphical User Interfaces; Graphics; Printing; Data Transfer; JavaBeans; Applets; Sound

Part 4 - Enterprise Java APIs - Database Access With SQL; XML; Servlets and JavaServer Pages; Remote Method Invocation; Example Index

Review
Often when you are learning Java or exploring a new aspect of the language, it's difficult to make the bridge from the raw documentation to working code. The O'Reilly "Examples In A Nutshell" series is designed to make that transition from theoretical to practical, and David Flanagan's Java Examples In A Nutshell is no exception. It should be an essential part of your personal library if you are a Java professional.

Rather than spend time teaching the reader a particular class, the book assumes that you have one of the other Java Nutshell books for all the details of the class. In this volume, Flanagan jumps right into complete, well-documented examples of code that use those classes, thereby giving you a feel for how they work. Because he documents his code better than most of us do, there isn't that waste of time trying to figure out what the coder intended. The examples are easy to follow, and they are definitely helpful when you are working through the details of an unfamiliar class or concept. I often find myself looking through the chapters when I'm coding just to get a glance at how someone else would code a solution. It's almost like having a partner to bounce ideas off of.

In this latest edition, the author covers some of the new features in Java 1.4 like the New I/O and Sound APIs. Personally, I probably wouldn't do much with the sound code, but the New I/O section will be useful. He also covers the regular expression features which are new in the New I/O API. While I would also want documentation on regular expressions since I'm not a Perl expert, these examples will help me when I get to the point I need to use them.

Conclusion
Quite simply, this should be a "must buy" for your Java library. This book bridges the gap between reference material and your actual coding better than any other book of its kind.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 9 people found the following review helpful:
5.0 out of 5 stars Great bang for your buck with useful, very well explained examples., October 4, 2006
By J. Swain (Kansas City) - See all my reviews
(REAL NAME)   
This book rocks. I started learning Java about 2 months ago with the Head First Java book, which is AMAZINGLY helpful (even if you know absolutely nothing beforehand). Once I got through that all that I began writing small apps on my own, but found in many cases that the API (Javadoc) was hard to understand because my limited Java knowledge leaves me with no context in many cases. I would think, "ok, it says this class can do this using these methods, and that's what I want, but how exactly do I put this into practice." Java Examples in a Nutshell fills this need perfectly with excellent examples(!), explanations, and clarifications. There's only so much that it can cover, but what it does cover, it covers really well.

I might also add that I bought this book after *returning* Java In A Nutshell because for me it really just seemed like a $50 printout of the API you can read for free at [....].

What I want to say is that, from my own experience, if you are pretty new to Java, and you are clicking well with it, and want a boost to propel you forward even faster, this is an excellent book to buy.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars JAVA Examples - book review
Seller was fast and great price.

This book is outstanding for a novice to intermediate developer/programmer. Be sure to get the latest edition. Read more
Published 7 months ago by John Najarian

5.0 out of 5 stars Summary of Java
Great overall summary of Java with examples. Replaces short surveys, tutorials and cookbooks of Java.
Published on February 22, 2006 by F. M. Taylor

5.0 out of 5 stars Very good book of examples of specific Java concepts
This book should not be expected to substitute as a tutorial for people looking to learn the Java language. Read more
Published on January 23, 2006 by calvinnme

1.0 out of 5 stars Pompous annoying examples.Think twice there are better books
While writing this I can already imagine the shock and dismay of the Fan crowd with my review. I don't have much time so let me get to the point. Read more
Published on June 11, 2005 by JohnJ

5.0 out of 5 stars Real working Code examples
Just type these in and learn, learn, learn. Good examples across the board.
Published on January 29, 2005 by Mark Geek Twain

5.0 out of 5 stars Excellant
This is an excellent book covering Java 1.4 with practical examples. The book is divided into four parts: Learning Java, Core Java APIs, Desktop Java APIs, and Enterprise Java... Read more
Published on June 26, 2004

5.0 out of 5 stars A must-have for any beginning or experienced programmer
Now in a newly updated and expanded third edition, Java Examples In A Nutshell is a 720 page instructional compendium by Java expert David Flanagan expertly covers Java 2 Version... Read more
Published on June 12, 2004 by Midwest Book Review

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


SpaFeatures: Free Shipping

bath poof
Get free shipping on all SpaFeatures orders of $50 or more. See new items from SpaFeatures here.

Shop SpaFeatures now

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates