TCP/IP Sockets in Java, 2/e: Practical Guide for Programmers
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,690$2,556 -
$450$405 -
$880$581 -
$550$468 -
$350$315 -
$990$891 -
$680$578 -
$550$429 -
$600$480 -
$720$612 -
$580$493 -
$1,200$1,020 -
$700$665 -
$620$527 -
$1,180$1,003 -
$1,488C++ GUI Programming with Qt 4, 2/e (Hardcover)
-
$620$527 -
$750$593 -
$980$774 -
$620$490 -
$680$530 -
$750$638 -
$650$507 -
$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中使用套接字進行幾乎所有客戶端-服務器項目所需的任務和技術。第1章提供了網絡概念的概述,讓讀者能夠將概念與術語同步。第2章介紹了簡單客戶端和服務器的機制。第3章涵蓋了基本的消息構建和解析。第4章則介紹了用於構建更強大的客戶端和服務器的技術。第5章(新章節)介紹了在Java 1.5中引入的可擴展接口功能,包括緩衝區和通道抽象。第6章更詳細地討論了編程結構與底層協議實現之間的關係。通過簡單的程序示例引入編程概念,並附有逐行代碼註釋,描述程序的每個部分的目的。本書的網站包含了許多與本書中討論的基於命令的套接字代碼的示例。沒有其他資源能夠如此簡潔而有效地呈現學習Java套接字編程所需的材料。
主要特點:
* 重點教學,讓讀者快速掌握Java應用程序中關鍵的套接字編程技術。
* 簡潔且最新的Java平台(1.7)中的網絡技術應用的涵蓋範圍。
* 通過附帶的網站提供所有示例程序的代碼,讓讀者在上下文中查看重要的對象和方法,並理解每行代碼的目的。