Java Network Programming, 4/e (Paperback)

Elliotte Rusty Harold

買這商品的人也買了...

商品描述

This practical guide provides a complete introduction to developing network programs with Java. You’ll learn how to use Java’s network class library to quickly and easily accomplish common networking tasks such as writing multithreaded servers, encrypting communications, broadcasting to the local network, and posting data to server-side programs.

Author Elliotte Rusty Harold provides complete working programs to illustrate the methods and classes he describes. This thoroughly revised fourth edition covers REST, SPDY, asynchronous I/O, and many other recent technologies.

  • Explore protocols that underlie the Internet, such as TCP/IP and UDP/IP
  • Learn how Java’s core I/O API handles network input and output
  • Discover how the InetAddress class helps Java programs interact with DNS
  • Locate, identify, and download network resources with Java’s URI and URL classes
  • Dive deep into the HTTP protocol, including REST, HTTP headers, and cookies
  • Write servers and network clients, using Java’s low-level socket classes
  • Manage many connections at the same time with the nonblocking I/O

商品描述(中文翻譯)

這本實用指南提供了完整的Java網路程式開發入門。您將學習如何使用Java的網路類別庫,快速且輕鬆地完成常見的網路任務,例如撰寫多執行緒伺服器、加密通訊、廣播到本地網路以及發送資料到伺服器端程式。

作者Elliotte Rusty Harold提供了完整的可運作範例程式,以說明他所描述的方法和類別。這本經過全面修訂的第四版涵蓋了REST、SPDY、非同步I/O和許多其他最新技術。

本書內容包括:
- 探索互聯網的底層協議,如TCP/IP和UDP/IP
- 學習Java的核心I/O API如何處理網路輸入和輸出
- 發現InetAddress類別如何幫助Java程式與DNS互動
- 使用Java的URI和URL類別定位、識別和下載網路資源
- 深入研究HTTP協議,包括REST、HTTP標頭和Cookie
- 使用Java的低階Socket類別撰寫伺服器和網路客戶端
- 使用非阻塞I/O同時管理多個連線

這本書將幫助您深入了解Java網路程式開發的核心概念和技術,並提供實用的範例程式供您參考。