TCP/IP Sockets in Java, 2/e: Practical Guide for Programmers
暫譯: Java中的TCP/IP套接字,第二版:程式設計師實用指南
Kenneth L. Calvert, Michael J. Donahoo
- 出版商: Morgan Kaufmann
- 出版日期: 2008-02-01
- 售價: $1,160
- 貴賓價: 9.5 折 $1,102
- 語言: 英文
- 頁數: 192
- 裝訂: Paperback
- ISBN: 0123742552
- ISBN-13: 9780123742551
-
相關分類:
Java 程式語言、TCP/IP
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$2,780$2,641 -
$450$405 -
$880$695 -
$550$435 -
$350$298 -
$990$891 -
$680$578 -
$550$429 -
$600$480 -
$720$569 -
$580$458 -
$1,200$1,020 -
$700$665 -
$620$527 -
$1,180$932 -
$1,488C++ GUI Programming with Qt 4, 2/e (Hardcover)
-
$620$527 -
$750$593 -
$980$774 -
$620$490 -
$680$530 -
$750$638 -
$650$553 -
$299$236 -
$450$351
商品描述
The API (application programming interface) reference sections in each chapter, which describe the relevant parts of each class, have been replaced with (i) a summary section that lists the classes and methods used in the code, and (ii) a ?gotchas? section that mentions nonobvious or poorly-documented aspects of the objects.
In addition, the book covers several new classes and capabilities introduced in the last few revisions of the Java platform. New abstractions to be covered include NetworkInterface, InterfaceAddress, Inet4/6Address, SocketAddress/InetSocketAddress, Executor, and others; extended access to low-level network information; support for IPv6; more complete access to socket options; and scalable I/O. The example code is also modified to take advantage of new language features such as annotations, enumerations, as well as generics and implicit iterators where appropriate.
Most Internet applications use sockets to implement network communication protocols. This book's focused, tutorial-based approach helps the reader master the tasks and techniques essential to virtually all client-server projects using sockets in Java. Chapter 1 provides a genral overview of networking concepts to allow readers to synchronize the concepts with terminology. Chapter 2 introduces the mechanics of simple clients and servers. Chapter 3 covers basic message construction and parsing. Chapter 4 then deals with techniques used to build more robust clients and servers. Chapter 5 (NEW) introduces the scalable interface facilities which were introduced in Java 1.5, including the buffer and channel abstractions. Chapter 6 discusses the relationship between the programming constructs and the underlying protocol implementations in more detail. Programming concepts are introduced through simple program examples accompanied by line-by-line code commentary that describes the purpose of every part of the program. The book's Web site contains many examples of command-based sockets-related code discussed throughout the book. No other resource presents so concisely or so effectively the material necessary to get up and running with Java sockets programming.
KEY FEATURES
* Focused, tutorial-based instruction in key sockets programming techniques allows reader to quickly come up to speed on Java applications.
* Concise and up-to-date coverage of the most recent platform (1.7) for Java
applications in networking technology
* Provides code for all example programs via a companion Web site to let the reader see the important objects and methods in context and to understand the purpose of each line of code.
商品描述(中文翻譯)
自本書第一版以來,Java 平台的網路功能已大幅擴展。本新版本涵蓋了 1.5 至 1.7 版本,這些是目前最新的版本,並且進行了以下改進:
每章的 API(應用程式介面)參考部分,描述了每個類別的相關部分,已被替換為 (i) 一個摘要部分,列出在程式碼中使用的類別和方法,以及 (ii) 一個「注意事項」部分,提及對象中不明顯或文檔不佳的方面。
此外,本書還涵蓋了在 Java 平台最近幾次修訂中引入的幾個新類別和功能。新抽象概念包括 NetworkInterface、InterfaceAddress、Inet4/6Address、SocketAddress/InetSocketAddress、Executor 等;擴展對低層網路資訊的訪問;對 IPv6 的支持;更完整的套接字選項訪問;以及可擴展的 I/O。示例程式碼也已修改,以利用新語言特性,如註解、列舉,以及在適當的地方使用泛型和隱式迭代器。
大多數網際網路應用程式使用套接字來實現網路通信協議。本書的重點、基於教程的方法幫助讀者掌握幾乎所有使用 Java 套接字的客戶端-伺服器專案所需的任務和技術。第一章提供了網路概念的一般概述,以便讀者能夠將這些概念與術語進行同步。第二章介紹了簡單客戶端和伺服器的機制。第三章涵蓋了基本消息的構建和解析。第四章則處理用於構建更穩健的客戶端和伺服器的技術。第五章(新)介紹了在 Java 1.5 中引入的可擴展介面功能,包括緩衝區和通道抽象。第六章更詳細地討論了程式設計結構與底層協議實現之間的關係。程式設計概念通過簡單的程式範例引入,並附有逐行的程式碼註解,描述程式每個部分的目的。本書的網站包含了許多與本書中討論的基於命令的套接字相關程式碼的範例。沒有其他資源能如此簡潔或有效地呈現學習 Java 套接字程式設計所需的材料。
主要特點
* 專注於關鍵套接字程式設計技術的教程式教學,讓讀者能迅速掌握 Java 應用程式。
* 對最新平台(1.7)在網路技術中的 Java 應用程式進行簡明且最新的覆蓋。
* 通過伴隨的網站提供所有示例程式的程式碼,讓讀者能在上下文中看到重要的對象和方法,並理解每行程式碼的目的。