買這商品的人也買了...
-
$980$774 -
$880$695 -
$1,890$1,796 -
$780$741 -
$590$466 -
$750$675 -
$560$504 -
$2,340$2,223 -
$480$379 -
$750$593 -
$780$616 -
$490$382 -
$1,176Computer Organization and Design: The Hardware/Software Interface, 3/e(IE) (美國版ISBN:1558606041)
-
$780$616 -
$675LPIC 1 Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102 (Paperback)
-
$650$553 -
$650$507 -
$450$405 -
$620$527 -
$750$593 -
$880$748 -
$880$581 -
$600$474 -
$650$507 -
$550$468
相關主題
商品描述
Description:
The new third edition of this highly regarded introduction to Java networking programming has been thoroughly revised to cover all of the 100+ significant updates to Java Developers Kit (JDK) 1.5. It is a clear, complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI).
Java Network Programming, 3rd Edition includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, servlets, multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, and the Java Secure Sockets Extension. There's also significant information on the New I/O API that was developed in large part because of the needs of network programmers.
This invaluable book is a complete, single source guide to writing sophisticated network applications. Packed with useful examples, it is the essential resource for any serious Java developer.
Table of Contents:
Preface
1. Why Networked Java?
What Can a Network Program Do?
Security
But Wait! There's More!2. Basic Network Concepts
Networks
The Layers of a Network
IP, TCP, and UDP
The Internet
The Client/Server Model
Internet Standards3. Basic Web Concepts
URIs
HTML, SGML, and XML
HTTP
MIME Media Types
Server-Side Programs4. Streams
Output Streams
Input Streams
Filter Streams
Readers and Writers5. Threads
Running Threads
Returning Information from a Thread
Synchronization
Deadlock
Thread Scheduling
Thread Pools6. Looking Up Internet Addresses
The InetAddress Class
Inet4Address and Inet6Address
The NetworkInterface Class
Some Useful Programs7. URLs and URIs
The URL Class
The URLEncoder and URLDecoder Classes
The URI Class
Proxies
Communicating with Server-Side Programs Through GET
Accessing Password-Protected Sites8. HTML in Swing
HTML on Components
JEditorPane
Parsing HTML
Cookies9. Sockets for Clients
Socket Basics
Investigating Protocols with Telnet
The Socket Class
Socket Exceptions
Socket Addresses
Examples10. Sockets for Servers
The ServerSocket Class
Some Useful Servers11. Secure Sockets
Secure Communications
Creating Secure Client Sockets
Methods of the SSLSocket Class
Creating Secure Server Sockets
Methods of the SSLServerSocket Class12. Non-Blocking I/O
An Example Client
An Example Server
Buffers
Channels
Readiness Selection13. UDP Datagrams and Sockets
The UDP Protocol
The DatagramPacket Class
The DatagramSocket Class
Some Useful Applications
DatagramChannel14. Multicast Sockets
What Is a Multicast Socket?
Working with Multicast Sockets
Two Simple Examples15. URLConnections
Opening URLConnections
Reading Data from a Server
Reading the Header
Configuring the Connection
Configuring the Client Request HTTP Header
Writing Data to a Server
Content Handlers
The Object Methods
Security Considerations for URLConnections
Guessing MIME Content Types
HttpURLConnection
Caches
JarURLConnection16. Protocol Handlers
What Is a Protocol Handler?
The URLStreamHandler Class
Writing a Protocol Handler
More Protocol Handler Examples and Techniques
The URLStreamHandlerFactory Interface17. Content Handlers
What Is a Content Handler?
The ContentHandler Class
The ContentHandlerFactory Interface
A Content Handler for the FITS Image Format18. Remote Method Invocation
What Is Remote Method Invocation?
Implementation
Loading Classes at Runtime
The java.rmi Package
The java.rmi.registry Package
The java.rmi.server Package19. The JavaMail API
What Is the JavaMail API?
Sending Email
Receiving Mail
Password Authentication
Addresses
The URLName Class
The Message Class
The Part Interface
Multipart Messages and File Attachments
MIME Messages
Folders
Index