ISBN 10: 0596006209 / ISBN 13: 9780596006204
Used / Quantity Available: 0
Available From More Booksellers
View all  copies of this book

About the Book

We're sorry; this specific copy is no longer available. AbeBooks has millions of books. We've listed similar copies below.

Description:

Brand New, Unread Copy in Perfect Condition. A+ Customer Service! Summary: Preface I. Learning Java1. Java Basics Hello World FizzBuzz The Fibonacci Series Using Command-Line Arguments Echo in Reverse FizzBuzz Switched Computing Factorials Recursive Factorials Caching Factorials Computing Big Factorials Handling Exceptions Interactive Input Using a StringBuffer Sorting Numbers Computing Primes 2. Objects, Classes, and Interfaces A Rectangle Class Testing the Rect Class A Rect Subclass Another Subclass Complex Numbers Computing Statistics An Integer List Tokenizing Text II. Core Java APIs3. Input/Output Files and Streams Working with Files Copying File Contents Reading and Displaying Text Files Listing Directory and File Information Compressing Files and Directories Filtering Character Streams Tokenizing a Character Stream Random Access to Files 4. Threads Thread Basics Thread-Safe Classes Threads and Thread Groups Deadlock Timers 5. Networking Downloading the Contents of a URL Using a URLConnection Sending Email Through a URLConnection A Simple Network Client A Generic Client An HTTP Client A POP Client A Simple Web Server A Proxy Server A Generic Multithreaded Server Sending Datagrams Receiving Datagrams 6. New I/O Locking Files Copying Files Regular Expressions and Character Decoding File Copying with Buffers Advanced Byte-to-Character Conversion Tokenizing Byte Buffers A Simple HTTP Client The Daytime Service A Multiplexed Server A Multiplexed Network Client 7. Security and Cryptography Running Untrusted Code Loading Untrusted Code Message Digests and Digital Signatures Cryptography 8. Internationalization A Word About Locales Unicode Character Encodings Handling Local Customs Localizing User-Visible Messages Formatted Messages 9. Reflection Obtaining Class and Member Information Invoking a Named Method Proxy Objects 10. Object Serialization Simple Serialization Custom Serialization Externalizable Classes Serialization and Class Versioning III. Desktop Java APIs11. Graphical User Interfaces Components Containers Layout Management Event Handling A Complete GUI Actions and Reflection Custom Dialogs An Error Handler Dialog Displaying Tables Displaying Trees A Simple Web Browser Describing GUIs with Properties Themes and the Metal Look-and-Feel Look-and-Feel Preferences The ShowBean Program 12. Graphics Graphics Before Java 1.2 The Java 2D API Drawing and Filling Shapes Transforms Line Styles with BasicStroke Stroking Lines Filling Shapes with Paint Antialiasing Combining Colors with AlphaComposite Image Processing Image I/O Custom Shapes Custom Strokes Custom Paint Advanced Animation Displaying Graphics Examples 13. Printing Printing with the Java 1.1 API Printing with the Java 1.2 API Printing with the Java 1.4 API Printing Multipage Text Documents Advanced Printing with Java 1.4 14. Data Transfer Simple Swing Data Transfer A Clock with Drag and Copy Support Data Transfer Architecture Dropping Multiple Datatypes A Transferable Shape Custom Data Transfer 15. JavaBeans Bean Basics A Simple Bean A More Complex Bean Custom Events Specifying Bean Information Defining a Simple Property Editor Defining a Complex Property Editor Defining a Bean Customizer Manipulating Beans 16. Applets Introduction to Applets A First Applet A Clock Applet A Timer Applet Applets and the Java 1.0 Event Model 17. Sound Ringing the Bell Swing Aural Cues Playing Sounds with AudioClip Playing Sounds with javax.sound Streaming Sounds with javax.sound Synthesizing a MIDI Sequence Real-Time MIDI Sounds IV. Enterprise Java APIs18. Database Access with SQL Accessing a Database Using Database Metadata Building a Database Using the API Database Atomic Transactions 19. XML Parsing with JAXP and SAX Parsing and Manipulating with JAXP and DOM Transforming XML with XSLT An XML Pull Parser 20. Servlets and JavaServer Pages Servlet Setup A Hello World Servlet Another Simple Servlet Servlet Initialization and Persistence: A Counter Servlet Hello JSP Hello JSP2 Hello XML. Bookseller Inventory #

About this title:

Book ratings provided by Goodreads:
3.48 avg rating
(81 ratings)

Synopsis:

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.

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 this title" may belong to another edition of this title.

    Bibliographic Details

    Book Condition: New

    Top Search Results from the AbeBooks Marketplace

    1.

    David Flanagan
    Published by O'Reilly Media, Inc. (2004)
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Quantity Available: 1
    Seller:
    Better World Books
    (Mishawaka, IN, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media, Inc., 2004. Condition: Good. 3rd. Shows some signs of wear, and may have some markings on the inside. Seller Inventory # GRP16505091

    More information about this seller | Contact this seller

    Buy Used
    US$ 3.64
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    2.

    Flanagan, David
    Published by O'Reilly Media
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used PAPERBACK Quantity Available: 1
    Seller:
    Your Online Bookstore
    (Houston, TX, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media. PAPERBACK. Condition: Good. 0596006209 Ships promptly from Texas. Seller Inventory # Z0596006209Z3

    More information about this seller | Contact this seller

    Buy Used
    US$ 3.86
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    3.

    David Flanagan
    Published by O'Reilly Media
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    OwlsBooks
    (Toledo, OH, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media. Paperback. Condition: VERY GOOD. Light rubbing wear to cover, spine and page edges. Very minimal writing or notations in margins not affecting the text. Possible clean ex-library copy, with their stickers and or stamp(s). Seller Inventory # 2841285482

    More information about this seller | Contact this seller

    Buy Used
    US$ 3.98
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    4.

    David Flanagan
    Published by O'Reilly Media
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    Discover Books
    (Baltimore, MD, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media. Paperback. Condition: GOOD. Spine creases, wear to binding and pages from reading. May contain limited notes, underlining or highlighting that does affect the text. Possible ex library copy, that’ll have the markings and stickers associated from the library. Accessories such as CD, codes, toys, may not be included. Seller Inventory # 2896573835

    More information about this seller | Contact this seller

    Buy Used
    US$ 3.98
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    5.

    David Flanagan
    Published by O'Reilly Media (2004)
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    Greener Books
    (London, United Kingdom)
    Rating
    [?]

    Book Description O'Reilly Media, 2004. Paperback. Condition: Used; Good. **SHIPPED FROM UK** We believe you will be completely satisfied with our quick and reliable service. All orders are dispatched as swiftly as possible! Buy with confidence!. Seller Inventory # mon0002209578

    More information about this seller | Contact this seller

    Buy Used
    US$ 4.01
    Convert Currency

    Add to Basket

    Shipping: US$ 3.82
    From United Kingdom to U.S.A.
    Destination, Rates & Speeds

    6.

    David Flanagan
    Published by O'Reilly Media, Incorporated
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    Rating
    [?]

    Book Description O'Reilly Media, Incorporated. Paperback. Condition: Very Good. A copy that has been read, but remains in excellent condition. Pages are intact and are not marred by notes or highlighting, but may contain a neat previous owner name. The spine remains undamaged. At ThriftBooks, our motto is: Read More, Spend Less. Seller Inventory # G0596006209I4N00

    More information about this seller | Contact this seller

    Buy Used
    US$ 4.30
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    7.

    David Flanagan
    Published by O'Reilly Media, Incorporated
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    ThriftBooks - Free State
    (Halethorpe, MD, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media, Incorporated. Paperback. Condition: Good. A copy that has been read, but remains in clean condition. All pages are intact, and the cover is intact. The spine may show signs of wear. Pages can include limited notes and highlighting, and the copy can include previous owner inscriptions. At ThriftBooks, our motto is: Read More, Spend Less. Seller Inventory # G0596006209I3N00

    More information about this seller | Contact this seller

    Buy Used
    US$ 4.30
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    8.

    David Flanagan
    Published by O'Reilly Media, Incorporated
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    ThriftBooks - Motor City
    (Brownstown, MI, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media, Incorporated. Paperback. Condition: Good. A copy that has been read, but remains in clean condition. All pages are intact, and the cover is intact. The spine may show signs of wear. Pages can include limited notes and highlighting, and the copy can include previous owner inscriptions. At ThriftBooks, our motto is: Read More, Spend Less. Seller Inventory # G0596006209I3N00

    More information about this seller | Contact this seller

    Buy Used
    US$ 4.30
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    9.

    David Flanagan
    Published by O'Reilly Media, Incorporated
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    ThriftBooks - Second City
    (Aurora, IL, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media, Incorporated. Paperback. Condition: Good. A copy that has been read, but remains in clean condition. All pages are intact, and the cover is intact. The spine may show signs of wear. Pages can include limited notes and highlighting, and the copy can include previous owner inscriptions. An ex-library book and may have standard library stamps and/or stickers. At ThriftBooks, our motto is: Read More, Spend Less. Seller Inventory # G0596006209I3N10

    More information about this seller | Contact this seller

    Buy Used
    US$ 4.30
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    10.

    David Flanagan
    Published by O'Reilly Media, Incorporated
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback Quantity Available: 1
    Seller:
    ThriftBooks - Yankee Clipper
    (Windsor Locks, CT, U.S.A.)
    Rating
    [?]

    Book Description O'Reilly Media, Incorporated. Paperback. Condition: Good. A copy that has been read, but remains in clean condition. All pages are intact, and the cover is intact. The spine may show signs of wear. Pages can include limited notes and highlighting, and the copy can include previous owner inscriptions. An ex-library book and may have standard library stamps and/or stickers. At ThriftBooks, our motto is: Read More, Spend Less. Seller Inventory # G0596006209I3N10

    More information about this seller | Contact this seller

    Buy Used
    US$ 4.30
    Convert Currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, Rates & Speeds

    There are 30 more copies of this book

    View all search results for this book