Java Examples in a Nutshell: A Companion Volume to Java in a Nutshell (In a Nutshell (O'Reilly)) - Softcover

9781565923713: Java Examples in a Nutshell: A Companion Volume to Java in a Nutshell (In a Nutshell (O'Reilly))
View all copies of this ISBN edition:
 
 

Java Examples in a Nutshell is chock full of practical real-world Java programming examples. The author of the bestsellingJava 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. WhileJava 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).

"synopsis" may belong to another edition of this title.

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)
  • 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 athttp://www.davidflanagan.com.

    "About this title" may belong to another edition of this title.

    • PublisherOreilly & Associates Inc
    • Publication date1997
    • ISBN 10 1565923715
    • ISBN 13 9781565923713
    • BindingPaperback
    • Edition number1
    • Number of pages397
    • Rating

    Other Popular Editions of the Same Title

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

    Featured Edition

    ISBN 10:  0596006209 ISBN 13:  9780596006204
    Publisher: O'Reilly Media, 2004
    Softcover

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

      O'..., 2000
      Softcover

    • 9780596001124: Java examples: A tutorial companion to Java in a nutshell (A nutshell handbook)

      O'..., 2000
      Hardcover

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

      Sagebr..., 2000
      Hardcover

    Top Search Results from the AbeBooks Marketplace

    Stock Image

    Flanagan, David
    Published by O'Reilly Media (1997)
    ISBN 10: 1565923715 ISBN 13: 9781565923713
    New Paperback Quantity: 1
    Seller:
    The Media Foundation
    (BEAVERTON, OR, U.S.A.)

    Book Description Paperback. Condition: New. Book is in excellent condition. Pages are crisp and clean, binding tight. 100% Satisfaction Guaranteed. Orders received before 3PM PT typically ship same day. All profits support the non-profit community. Seller Inventory # mon0000116135

    More information about this seller | Contact seller

    Buy New
    US$ 9.98
    Convert currency

    Add to Basket

    Shipping: US$ 4.49
    Within U.S.A.
    Destination, rates & speeds