Java Examples in a Nutshel, 3rd edition

A tutorial companion to Java in a Nutshell, Covers Java 2 Version 1.4

Paperback Engels 2004 3e druk 9780596006204
€ 47,71
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

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.

Specificaties

ISBN13:9780596006204
Taal:Engels
Bindwijze:paperback
Aantal pagina's:700
Uitgever:O'Reilly
Druk:3
Verschijningsdatum:23-4-2015
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over David Flanagan

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 children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.

Andere boeken door David Flanagan

Inhoudsopgave

Preface

I. Learning Java
1. 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 APIs
3. 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
Afgekapt op 62 regels

Managementboek Top 100

€ 47,71
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Java Examples in a Nutshel, 3rd edition