rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780596007218

Java Network Programming

by
  • ISBN13:

    9780596007218

  • ISBN10:

    0596007213

  • Edition: 3rd
  • Format: Paperback
  • Copyright: 2004-11-01
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99 Save up to $1.60
  • Digital
    $38.39*
    Add to Cart

    DURATION
    PRICE
    *To support the delivery of the digital material to you, a digital delivery fee of $3.99 will be charged on each digital item.

Summary

Through two previous editions, Java Network Programming has stood as the single source, soup-to-nuts introduction to developing networked programs with Java-both applets and applications. Now we offer a thoroughly revised and updated guide to accommodate the exciting changes that come with Java 1.5. Readers will find everything from networking fundamentals to remote method invocation (RMI), and new chapters on TCP and UDP sockets, multicasting protocol and content handlers, and servlets. There's also significant information on the New I/O API that was developed in large part because of the needs of network programmers. Any Java developer involved in network programming will want this book.

Author Biography

Elliotte Rusty Harold is originally from New Orleans to which he returns periodically in search of a decent bowl of gumbo. However, he currently resides in the University Town Center neighborhood of Irvine with his wife Beth, dog Shayna, and cats Charm (named after the quark) and Marjorie (named after his mother-in-law). He's an adjunct professor of computer science at Polytechnic University where he teaches Java, XML, and object oriented programming. He's a frequent speaker at industry conferences including Software Development, Dr. Dobb's Architecure & Design World, SD Best Practices, Extreme Markup Languages, and too many user groups to count. His open source projects include the XOM Library for processing XML with Java and the Amateur media player.

Table of Contents

Preface xi
Why Networked Java?
1(18)
What Can a Network Program Do?
2(14)
Security
16(2)
But Wait! There's More!
18(1)
Basic Network Concepts
19(27)
Networks
19(2)
The Layers of a Network
21(6)
IP, TCP, and UDP
27(4)
The Internet
31(5)
The Client/Server Model
36(2)
Internet Standards
38(8)
Basic Web Concepts
46(21)
URIs
46(7)
HTML, SGML, and XML
53(2)
HTTP
55(4)
MIME Media Types
59(4)
Server-Side Programs
63(4)
Streams
67(38)
Output Streams
68(4)
Input Streams
72(4)
Filter Streams
76(15)
Readers and Writers
91(14)
Threads
105(45)
Running Threads
107(4)
Returning Information from a Thread
111(12)
Synchronization
123(6)
Deadlock
129(1)
Thread Scheduling
130(14)
Thread Pools
144(6)
Looking Up Internet Addresses
150(34)
The InetAddress Class
152(17)
Inet4Address and Inet6Address
169(1)
The NetworkInterface Class
170(3)
Some Useful Programs
173(11)
URLs and URIs
184(53)
The URL Class
184(24)
The URLEncoder and URLDecoder Classes
208(5)
The URI Class
213(9)
Proxies
222(3)
Communicating with Server-Side Programs Through GET
225(4)
Accessing Password-Protected Sites
229(8)
HTML in Swing
237(38)
HTML on Components
237(2)
JEditorPane
239(9)
Parsing HTML
248(18)
Cookies
266(9)
Sockets for Clients
275(50)
Socket Basics
275(1)
Investigating Protocols with Telnet
276(2)
The Socket Class
278(26)
Socket Exceptions
304(1)
Socket Addresses
305(1)
Examples
306(19)
Sockets for Servers
325(38)
The ServerSocket Class
325(17)
Some Useful Servers
342(21)
Secure Sockets
363(21)
Secure Communications
364(3)
Creating Secure Client Sockets
367(4)
Methods of the SSLSocket Class
371(5)
Creating Secure Server Sockets
376(5)
Methods of the SSLServerSocket Class
381(3)
Non-Blocking I/O
384(39)
An Example Client
385(4)
An Example Server
389(6)
Buffers
395(20)
Channels
415(5)
Readiness Selection
420(3)
UDP Datagrams and Sockets
423(47)
The UDP Protocol
423(2)
The DatagramPacket Class
425(10)
The DatagramSocket Class
435(13)
Some Useful Applications
448(13)
DatagramChannel
461(9)
Multicast Sockets
470(23)
What Is a Multicast Socket?
471(8)
Working with Multicast Sockets
479(8)
Two Simple Examples
487(6)
URLConnections
493(59)
Opening URLConnections
494(1)
Reading Data from a Server
495(2)
Reading the Header
497(9)
Configuring the Connection
506(9)
Configuring the Client Request HTTP Header
515(2)
Writing Data to a Server
517(5)
Content Handlers
522(2)
The Object Methods
524(1)
Security Considerations for URLConnections
524(1)
Guessing MIME Content Types
525(3)
HttpURLConnection
528(16)
Caches
544(5)
JarURL Connection
549(3)
Protocol Handlers
552(28)
What Is a Protocol Handler?
552(4)
The URLStreamHandler Class
556(8)
Writing a Protocol Handler
564(3)
More Protocol Handler Examples and Techniques
567(9)
The URLStreamHandlerFactory Interface
576(4)
Content Handlers
580(30)
What Is a Content Handler?
582(2)
The ContentHandler Class
584(11)
The ContentHandlerFactory Interface
595(3)
A Content Handler for the FITS Image Format
598(12)
Remote Method Invocation
610(31)
What Is Remote Method Invocation?
610(6)
Implementation
616(8)
Loading Classes at Runtime
624(4)
The java.rmi Package
628(6)
The java.rmi.registry Package
634(1)
The java.rmi.server Package
635(6)
The JavaMail API
641(72)
What Is the JavaMail API?
642(2)
Sending Email
644(10)
Receiving Mail
654(5)
Password Authentication
659(4)
Addresses
663(4)
The URLName Class
667(3)
The Message Class
670(12)
The Part Interface
682(10)
Multipart Messages and File Attachments
692(4)
MIME Messages
696(2)
Folders
698(15)
Index 713

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program