買這商品的人也買了...
-
$980$833 -
$880$695 -
$1,920$1,824 -
$780$741 -
$590$466 -
$750$638 -
$560$476 -
$2,380$2,261 -
$480$379 -
$750$638 -
$780$616 -
$490$382 -
$1,176Computer Organization and Design: The Hardware/Software Interface, 3/e(IE) (美國版ISBN:1558606041)
-
$780$663 -
$675LPIC 1 Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102 (Paperback)
-
$650$553 -
$650$507 -
$450$383 -
$620$527 -
$750$638 -
$880$748 -
$880$695 -
$600$510 -
$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
商品描述(中文翻譯)
**描述:**
這本備受推崇的《Java 網路程式設計》第三版已全面修訂,以涵蓋 Java 開發者工具包 (JDK) 1.5 的 100 多項重大更新。這是一本清晰且完整的介紹,涵蓋使用 Java 開發網路程式(包括小應用程式和應用程式)的所有內容,從網路基礎知識到遠端方法呼叫 (RMI)。
《Java 網路程式設計》第三版包括有關 TCP 和 UDP 套接字、多播協議和內容處理器、伺服器端程式、多執行緒網路程式設計、I/O、HTML 解析和顯示、Java Mail API 以及 Java 安全套接字擴展的章節。書中還包含了大量有關新 I/O API 的重要資訊,這些 API 的開發在很大程度上是因為網路程式設計師的需求。
這本寶貴的書籍是撰寫複雜網路應用程式的完整單一來源指南。書中充滿了有用的範例,是任何認真對待 Java 開發的開發者必備的資源。
**目錄:**
前言
1. 為什麼選擇網路 Java?
什麼是網路程式?
安全性
等等!還有更多!
2. 基本網路概念
網路
網路的層次
IP、TCP 和 UDP
網際網路
客戶端/伺服器模型
網際網路標準
3. 基本網頁概念
URI
HTML、SGML 和 XML
HTTP
MIME 媒體類型
伺服器端程式
4. 流
輸出流
輸入流
過濾流
讀取器和寫入器
5. 執行緒
執行執行緒
從執行緒返回資訊
同步
死鎖
執行緒排程
執行緒池
6. 查詢網際網路地址
InetAddress 類別
Inet4Address 和 Inet6Address
NetworkInterface 類別
一些有用的程式
7. URL 和 URI
URL 類別
URLEncoder 和 URLDecoder 類別
URI 類別
代理伺服器
通過 GET 與伺服器端程式通訊
訪問受密碼保護的網站
8. Swing 中的 HTML
組件上的 HTML
JEditorPane
解析 HTML
Cookies
9. 客戶端的套接字
套接字基礎
使用 Telnet 調查協議
Socket 類別
套接字例外
套接字地址
範例
10. 伺服器的套接字
ServerSocket 類別
一些有用的伺服器
11. 安全套接字
安全通訊
創建安全客戶端套接字
SSLSocket 類別的方法
創建安全伺服器套接字
SSLServerSocket 類別的方法
12. 非阻塞 I/O
一個範例客戶端
一個範例伺服器
緩衝區
通道
可讀性選擇
13. UDP 數據報和套接字
UDP 協議
DatagramPacket 類別
DatagramSocket 類別
一些有用的應用程式
DatagramChannel
14. 多播套接字
什麼是多播套接字?
使用多播套接字
兩個簡單的範例
15. URLConnections
開啟 URLConnections
從伺服器讀取數據
讀取標頭
配置連接
配置客戶端請求 HTTP 標頭
向伺服器寫入數據
內容處理器
物件方法
URLConnections 的安全考量
猜測 MIME 內容類型
HttpURLConnection
快取
JarURLConnection
16. 協議處理器
什麼是協議處理器?
URLStreamHandler 類別
編寫協議處理器
更多協議處理器範例和技術
URLStreamHandlerFactory 介面
17. 內容處理器
什麼是內容處理器?
ContentHandler 類別
ContentHandlerFactory 介面
FITS 圖像格式的內容處理器
18. 遠端方法呼叫
什麼是遠端方法呼叫?
實作
在執行時加載類別
java.rmi 套件
java.rmi.registry 套件
java.rmi.server 套件
19. JavaMail API
JavaMail API 是什麼?
發送電子郵件
接收郵件
密碼驗證
地址
URLName 類別
Message 類別
Part 介面
多部分郵件和檔案附件
MIME 郵件
資料夾
索引