Items related to Java Examples in a Nutshell: A Tutorial Companion to...

Java Examples in a Nutshell: A Tutorial Companion to Java in a Nutshell - Softcover

  • 3.45 out of 5 stars
    96 ratings by Goodreads
 
9780596006204: Java Examples in a Nutshell: A Tutorial Companion to Java in a Nutshell

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.

"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 at http://www.davidflanagan.com.

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

    • PublisherO'Reilly Media
    • Publication date2004
    • ISBN 10 0596006209
    • ISBN 13 9780596006204
    • BindingPaperback
    • LanguageEnglish
    • Edition number3
    • Number of pages718
    • Rating
      • 3.45 out of 5 stars
        96 ratings by Goodreads

    Buy Used

    Condition: Very Good
    Item in very good condition! Textbooks...
    View this item

    FREE shipping within U.S.A.

    Destination, rates & speeds

    Other Popular Editions of the Same Title

    Search results for Java Examples in a Nutshell: A Tutorial Companion to...

    Stock Image

    David Flanagan
    Published by O'Reilly Media, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Softcover

    Seller: SecondSale, Montgomery, IL, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Condition: Very Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00079862039

    Contact seller

    Buy Used

    US$ 6.38
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    David Flanagan
    Published by O'Reilly Media, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Softcover

    Seller: Wonder Book, Frederick, MD, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Condition: Very Good. Very Good condition. 3rd edition. A copy that may have a few cosmetic defects. May also contain light spine creasing or a few markings such as an owner's name, short gifter's inscription or light stamp. Bundled media such as CDs, DVDs, floppy disks or access codes may not be included. Seller Inventory # Q12C-01280

    Contact seller

    Buy Used

    US$ 6.40
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    David Flanagan
    Published by O'Reilly Media, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Softcover

    Seller: Wonder Book, Frederick, MD, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Condition: Good. Good condition. 3rd edition. A copy that has been read but remains intact. May contain markings such as bookplates, stamps, limited notes and highlighting, or a few light stains. Bundled media such as CDs, DVDs, floppy disks or access codes may not be included. Seller Inventory # F13B-00954

    Contact seller

    Buy Used

    US$ 6.40
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    Flanagan, David
    Published by O'Reilly Media, Incorporated, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Softcover

    Seller: Better World Books: West, Reno, NV, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Condition: Good. 3rd. Used book that is in clean, average condition without any missing pages. Seller Inventory # GRP95372027

    Contact seller

    Buy Used

    US$ 6.55
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 2 available

    Add to basket

    Stock Image

    Flanagan, David
    Published by O'Reilly Media, Incorporated, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Softcover

    Seller: Better World Books, Mishawaka, IN, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Condition: Very Good. 3rd. Former library book; may include library markings. Used book that is in excellent condition. May show signs of wear or have minor defects. Seller Inventory # GRP65459843

    Contact seller

    Buy Used

    US$ 6.55
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    Flanagan, David
    Published by O'Reilly Media, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback

    Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Paperback. Condition: As New. No Jacket. Pages are clean and are not marred by notes or folds of any kind. ~ ThriftBooks: Read More, Spend Less 1.1. Seller Inventory # G0596006209I2N00

    Contact seller

    Buy Used

    US$ 6.91
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    Flanagan, David
    Published by O'Reilly Media, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback

    Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 1.1. Seller Inventory # G0596006209I4N00

    Contact seller

    Buy Used

    US$ 6.91
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    Flanagan, David
    Published by O'Reilly Media, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback

    Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Paperback. Condition: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 1.1. Seller Inventory # G0596006209I3N00

    Contact seller

    Buy Used

    US$ 6.91
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    Flanagan, David
    Published by O'Reilly Media, 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback

    Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 1.1. Seller Inventory # G0596006209I4N00

    Contact seller

    Buy Used

    US$ 6.91
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    Stock Image

    Flanagan, David
    Published by O'Reilly Media (edition 3), 2004
    ISBN 10: 0596006209 ISBN 13: 9780596006204
    Used Paperback

    Seller: BooksRun, Philadelphia, PA, U.S.A.

    Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

    Paperback. Condition: Good. 3. Ship within 24hrs. Satisfaction 100% guaranteed. APO/FPO addresses supported. Seller Inventory # 0596006209-11-1

    Contact seller

    Buy Used

    US$ 8.20
    Convert currency
    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds

    Quantity: 1 available

    Add to basket

    There are 23 more copies of this book

    View all search results for this book