See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.
Java Examples in a Nutshell and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

60 used & new from $0.01

Have one to sell? Sell yours here
 
 
Java Examples in a Nutshell
 
 
Start reading Java Examples in a Nutshell on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Java Examples in a Nutshell (Paperback)

by David Flanagan (Author)
4.5 out of 5 stars See all reviews (36 customer reviews)


Available from these sellers.


16 new from $1.25 44 used from $0.01
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $31.96
Paperback (Bargain Price) 11 used & new from $3.00
Hardcover 2 used & new from $18.00
Paperback (Illustrated) 86 used & new from $0.01
There is a newer edition of this item:
Java Examples in a Nutshell, 3rd Edition Java Examples in a Nutshell, 3rd Edition 4.5 out of 5 stars (10)
$26.37
In Stock.
What Do Customers Ultimately Buy After Viewing This Item?
Java Examples in a Nutshell, 3rd Edition
40% buy
Java Examples in a Nutshell, 3rd Edition 4.5 out of 5 stars (10)
$26.37
Java Examples in a Nutshell
35% buy the item featured on this page:
Java Examples in a Nutshell 4.5 out of 5 stars (36)
Java In A Nutshell, 5th Edition
16% buy
Java In A Nutshell, 5th Edition 4.2 out of 5 stars (32)
$29.67
Java Cookbook, Second Edition
10% buy
Java Cookbook, Second Edition 4.5 out of 5 stars (32)
$32.97

Customers Who Bought This Item Also Bought

Java in a Nutshell, Fourth Edition

Java in a Nutshell, Fourth Edition

by David Flanagan
3.2 out of 5 stars (29)  $30.36
Java Foundation Classes in A Nutshell

Java Foundation Classes in A Nutshell

by David Flanagan
4.6 out of 5 stars (5)  $31.49
JavaScript: The Definitive Guide

JavaScript: The Definitive Guide

by David Flanagan
4.4 out of 5 stars (286)  $31.49
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 Examples in a Nutshell, 3rd Edition

Java Examples in a Nutshell, 3rd Edition

by David Flanagan
4.5 out of 5 stars (10)  $26.37
Explore similar items

Editorial Reviews

Amazon.com Review
Aimed at those who have some previous Java experience, Java Examples in a Nutshell, 2nd Edition provides an outstanding collection of code samples that are designed to help you improve your programming skills--by studying code that works. With over 150 expert examples that illustrate a wide range of Java APIs, this volume definitely can bring your knowledge of Java to the next level.

Many programming titles rely on code excerpts to illustrate key programming concepts. This book reverses that approach by emphasizing the code itself, enhancing it with introductory material and explanations. While some short examples illustrate simple algorithms (such as random-number generation and sorting), many of the examples are substantial: for example, how to create a multithreaded Web server, a proxy server, and even a simple Web browser (by using built-in Swing classes for a user interface). These longer examples occupy several pages; generally, they're well-commented models of coding clarity.

This second edition adds extensive support for the Java 2 JDK 1.3 standard. Later sections provide sample code on most recent developments in enterprise APIs, including Swing, JDBC, and XML. This text concludes with one of the best short tutorials that you're likely to find anywhere on JSP and servlet programming, including excellent detail on deploying JSP-based Web applications.

Although it's designed to be a companion title to Java in a Nutshell and other O'Reilly Java offerings, there's little doubt that this book stands on its own quite well. And, given the short exercises at the end of every chapter that help you expand your command of Java features and APIs, this is a worthy and up-to-date resource for all levels of Java programmers. --Richard Dragan

Topics covered:
  • Library of Java 2 code samples
  • A "Hello world" example
  • Mathematical calculations and algorithms (the Fibonacci Series, factorials, prime-number generation, sorting, exception handling)
  • Basic class design (classes for graphics, random numbers, and a linked list)
  • Java file I/O (including opening, reading, and writing files)
  • Filtering file streams
  • Java threads and multitasking techniques
  • Java networking classes (URLs and connections, sending e-mail)
  • Sample code for custom Web servers and proxy servers
  • Security and cryptography
  • Basic internationalization
  • The Java reflection APIs

  • Object serialization
  • Swing user-interface design
  • Code for a simple Web browser, based on Swing
  • Tutorial for AWT and Java 2-D graphics
  • Printing techniques
  • Cutting and pasting data in Java
  • JavaBeans (custom components, bean property editors, customizers)
  • Applet basics (including JDK 1.0 event handling and JAR files)
  • Remote Method Invocation (RMI)
  • Sample code for a Multiuser Domain (MUD) server
  • Database and JDBC programming
  • Servlet and JavaServer Pages (JSPs) tutorial
  • XML and Java (including JAXP, SAX 1 and 2, and JDOM)


  • Product Description
    In Java Examples in a Nutshell, David Flanagan, the bestselling author of Java in a Nutshell, has created an entire book of programs that not only serve as great learning tools, but can also be modified for individual use. The second edition 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 API's, including Servlets, JavaServer Pages, XML, Swing, and Java 2D. Like the first edition, it's full of programs that demonstrate the core Java classes. 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.

    See all Editorial Reviews


    Product Details

    • Paperback: 584 pages
    • Publisher: O'Reilly; 2 edition (September 26, 2000)
    • Language: English
    • ISBN-10: 0596000391
    • ISBN-13: 978-0596000394
    • Product Dimensions: 9 x 6 x 1.2 inches
    • Shipping Weight: 1.6 pounds
    • Average Customer Review: 4.5 out of 5 stars See all reviews (36 customer reviews)
    • Amazon.com Sales Rank: #1,030,122 in Books (See Bestsellers in Books)

    Look Inside This Book


    Tag this product

     (What's this?)
    Think of a tag as a keyword or label you consider is strongly related to this product.
    Tags will help all customers organize and find favorite items.
    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?

     

    Customer Reviews

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

     
    63 of 67 people found the following review helpful:
    5.0 out of 5 stars The VERY BEST Java book available!, November 24, 1999
    By "bdunn" (Dallas, TX USA) - See all my reviews
    When I started to learn Java, I think I purchased ten differentintro books. It seems that it just wasn't "clicking" withthose other books. I happened to pick this one up as well thinking that it would be a great tool after I learned the language. Boy, was I ever wrong!

    This book is a GREAT book to learn Java!Over and over again, you'll see a "master java programmer" (in my opinion) create simple programs and explain every step. The book goes into more detail, but only a little at a time, nothing overwhelming.

    This book taught me Java - PERIOD. Leave it to O'Reilly to once again create a phenomenal book like Java Examples in a Nutshell.

    If I could give it 10 stars, I would. This is still my #1 favorite Java book.

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



     
    20 of 20 people found the following review helpful:
    5.0 out of 5 stars Great Stand-Alone Example / Exercise Book, April 14, 1998
    By A Customer
    One of the weaknesses (IMHO) of computer books is that they usually include lots of code snippets, but rarely challenge you to write your own stuff. This book is the best of both worlds, if you have at least been briefly exposed to Java: it gives you well-commented code examples to illustrate points, then ends each chapter with a set of programming exercises for you to code yourself. This is the perfect combo, as far as I'm concerned. It stands on its own; in fact, I haven't even read the book it is a companion for! Great book, great concept, great execution.
    Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



     
    11 of 11 people found the following review helpful:
    5.0 out of 5 stars Great companion to any JAVA curriculum, May 1, 2000
    By Robert A Hansen (Waukesha, WI USA) - See all my reviews
    I learned JAVA using the Core Java books and found that I wasnt learning anything from just typing in the examples in the book. I wasnt "thinking" JAVA. I saw a friend of mine at work with this book and picked up a copy for myself. First of all it contains source for several concepts for each of the various language topics. Then it gives exercises to complete. They were challenging, but not overly challenging that I needed to spend an entire day writing UML diagrams to do it. Good companion to any learning method you are using.
    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

    1.0 out of 5 stars useless
    I have been trying to figure my way around. The code snippets contain several errors which is left to the reader to figure out. Read more
    Published 20 months ago by animal fan

    5.0 out of 5 stars Good book
    The examples of this book are high-applicable, clearly. Essential step-by-step for beginners and handbook for developers. Read more
    Published on May 28, 2003 by Dzung T. Nguyen

    4.0 out of 5 stars Good reference to a reference
    This book is a wonderful addition to a java developer's library. This book will greatly complement introductory or textbook-style books with its concrete examples and thorough... Read more
    Published on February 18, 2003 by John Williams

    5.0 out of 5 stars Very Useful
    Most programmers learn by doing. When programming using a new API for the first time, I very often look at sample code to get the real feel for how the code should work. Read more
    Published on September 11, 2002 by wgstreicher

    5.0 out of 5 stars Good cover for Java knowledge
    This book absolutely wonderful.
    It has a many real world examples and good questions which are so similar to the examples in the book. Read more
    Published on August 13, 2002 by ozdemit

    3.0 out of 5 stars Not for beginners.
    Somewhat outdated. Mostly covers J1.2, but weak at J1.3. It may have some historical value in order to show how Java programming was done at the good old days. Read more
    Published on December 28, 2001 by MEHMET ENDER BATUR

    5.0 out of 5 stars Get them Both - the Examples and Nutshell Handbook
    These are the most worn covers for the dozen Java books I own.
    They are greate for learning and reference. Read more
    Published on November 14, 2001 by Mark W Mitchell

    5.0 out of 5 stars Get the pair - you will need them both
    I though I was buying the two Nutshell books as just an occaisonal reference to clarify things for me. Read more
    Published on November 14, 2001 by Mark W Mitchell

    4.0 out of 5 stars Good but better with the other books...
    This book, combined with Java in a Nutshell and Java Foundation Classes in a Nutshell make for one great reference on Java. Read more
    Published on November 11, 2001 by C. Higgins

    5.0 out of 5 stars Very good Book
    This book doesn't teach you anything ussing theory only examples. The examples are very good and real. Read more
    Published on July 13, 2001 by DANIEL GUERRA

    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]

       
    Related forums


    Product Information from the Amapedia Community

    Beta (What's this?)



    Look for Similar Items by Category


    Shop in a Box with Power-Tool Combo Packs

    Shop for combo packs
    Expand your tool collection with a versatile combo pack. Our extensive line of combo packs includes air tools and convenient cordless power tools.

    Shop combo packs

     

    Best Books of 2008

    Best of 2008
    Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
     
    Shop for tools and accessories
    Prepare to Be EntertainedAssemble your home entertainment system with tools and accessories from the Power & Hand Tools Store.
     

    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
    Free
    Free by Chris Anderson
    Paranoia
    Paranoia by Joseph Finder
    My Soul to Lose
    My Soul to Lose by Rachel Vincent
    Glenn Beck's Common Sense

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