Amazon.com: Java Examples in A Nutshell (9781565923713): David Flanagan: Books
Java Examples in a Nutshell (In a Nutshell (O'Reilly)) and over one million other books are available for Amazon Kindle. Learn more

Buy Used
Used - Very Good See details
$3.99 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Have one to sell? Sell yours here
Java Examples in A Nutshell
 
 
Start reading Java Examples in a Nutshell (In a Nutshell (O'Reilly)) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java Examples in A Nutshell [Paperback]

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


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $25.19  
Hardcover --  
Paperback --  
There is a newer edition of this item:
Java Examples in a Nutshell, 3rd Edition Java Examples in a Nutshell, 3rd Edition 4.4 out of 5 stars (9)
$29.16
In Stock.

Book Description

January 15, 1997 1565923715 978-1565923713 1st ed

Java Examples in a Nutshell is chock full of practical real-world Java programming examples. 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. While Java in a Nutshell is a quick-reference at heart, it also includes an accelerated introduction to Java programming. Java Examples in a Nutshell picks up where that book leaves 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 1.1. Each chapter concludes with programming exercises that suggest further avenues for building on what you have learned.

Java Examples in a Nutshell contains all of the example programs from the first edition of Java in a Nutshell, completely updated for Java 1.1. In addition, the I/O, networking, and GUI chapters have been augmented to include even more practical examples. It also expands on the examples from the second edition of Java in a Nutshell that demonstrate the new features in Java 1.1, including the new AWT event handling model, the JavaBeans API, internationalization, object serialization, and reflection.

In addition, this book provides never-before-published programming examples for remote method invocation, database connectivity, and security -- important elements of the Java Enterprise APIs. Finally, the book offers a glimpse of the features of "Swing," the set of new components that are part of the forthcoming Java Foundation Classes (JFC).


Customers Who Bought This Item Also Bought


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)
  • --This text refers to an out of print or unavailable edition of this title.

    About the Author

    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.


    Product Details

    • Paperback: 397 pages
    • Publisher: O'Reilly Media; 1st ed edition (January 15, 1997)
    • Language: English
    • ISBN-10: 1565923715
    • ISBN-13: 978-1565923713
    • Product Dimensions: 8.9 x 6 x 0.9 inches
    • Shipping Weight: 1.2 pounds
    • Average Customer Review: 4.5 out of 5 stars  See all reviews (35 customer reviews)
    • Amazon Best Sellers Rank: #1,523,918 in Books (See Top 100 in Books)

    More About the Author

    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.

     

    Customer Reviews

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

    64 of 68 people found the following review helpful:
    5.0 out of 5 stars The VERY BEST Java book available!, November 24, 1999
    This review is from: Java Examples in A Nutshell (Paperback)
    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.

    Help other customers find the most helpful reviews 
    Was this review helpful to you? Yes No


    21 of 21 people found the following review helpful:
    5.0 out of 5 stars Great Stand-Alone Example / Exercise Book, April 13, 1998
    By A Customer
    This review is from: Java Examples in A Nutshell (Paperback)
    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.
    Help other customers find the most helpful reviews 
    Was this review helpful to you? Yes No


    12 of 12 people found the following review helpful:
    5.0 out of 5 stars Great companion to any JAVA curriculum, May 1, 2000
    This review is from: Java Examples in A Nutshell (Paperback)
    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.
    Help other customers find the most helpful reviews 
    Was this review helpful to you? Yes No

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











    Only search this product's reviews



    What Other Items Do Customers Buy After Viewing This Item?


    Suggested Tags from Similar Products

     (What's this?)
    Be the first one to add a relevant tag (keyword that's strongly related to this product).
     
    (183)
    (25)

    Your tags: Add your first tag
     

    Customer Discussions

    This product's forum
    Discussion Replies Latest Post
    No discussions yet

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


    Active discussions in related forums
    Search Customer Discussions
    Search all Amazon discussions
       
    Related forums



    So You'd Like to...


    Create a guide


    Look for Similar Items by Category


    Look for Similar Items by Subject