Java Examples in a Nutshell, 3rd Edition

Java Examples in a Nutshell, 3rd Edition Front Cover
50 Reviews
720 pages

Book Description

The author of the best-selling 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 -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 ), 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.

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 ). 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

Table of Contents

Part I Learning Java
Chapter 1. Java Basics
Chapter 2. Objects, Classes, and Interfaces

Part II Core Java APIs
Chapter 3. Input/Output
Chapter 4. Threads
Chapter 5. Networking
Chapter 6. New I/O
Chapter 7. Security and Cryptography
Chapter 8. Internationalization
Chapter 9. Reflection
Chapter 10. Object Serialization

Part III Desktop Java APIs
Chapter 11. User Interfaces
Chapter 12. Graphics
Chapter 13. Printing
Chapter 14. Data Transfer
Chapter 15. JavaBeans
Chapter 16. Applets
Chapter 17. Sound

Part IV Enterprise Java APIs
Chapter 18. Database Access with SQL
Chapter 19. XML
Chapter 20. Servlets and JSP
Chapter 21. Remote Method Invocation

Book Details

  • Title: Java Examples in a Nutshell, 3rd Edition
  • Author:
  • Length: 720 pages
  • Edition: 3rd
  • Language: English
  • Publisher:
  • Publication Date: 2004-01-01
  • ISBN-10: 0596006209
  • ISBN-13: 9780596006204
Download LinkFormatSize (MB)Upload Date
Download from EU(multi)EPUB3.711/16/2014
Download from FilePiEPUB3.711/16/2014
Download from ZippyShareEPUB3.701/07/2016
Download from ZippyShareEPUB3.705/11/2017
How to Download? Report Dead Links & Get a Copy