Java Spaces Example by Example (Paperback)
暫譯: Java Spaces 實例解析 (平裝本)

Steven L. Halter

  • 出版商: Prentice Hall
  • 出版日期: 2001-12-15
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 400
  • 裝訂: Paperback
  • ISBN: 0130619167
  • ISBN-13: 9780130619167
  • 相關分類: Java 程式語言
  • 已絕版

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

商品描述

  • The hands-on, example-rich guide to JavaSpaces technology
  • Building robust, scalable, high-performance distributed applications
  • Up-to-the-minute coverage based on Jini 1.1 network technology and JDK 1.4 software
  • Practical solutions to the most common challenges of distributed development

The example-rich guide to JavaSpaces technology: building more robust, scalable, and secure distributed applications for working developers!

JavaSpaces technology simplifies distributed computing, by providing a shared virtual space where tasks, requests, and information can easily be exchanged in the form of objects based on Javatm technology. JavaSpaces Example by Example offers an example-rich introduction to JavaSpaces architecture and its Jini network technology-based interfaces. Using this book's extensive examples and projects, experienced developers can begin building applications using the JavaSpaces specification almost immediately—and quickly master advanced techniques for enhancing security, performance, and scalability.

Steven L. Halter begins by introducing JavaSpaces technology: its goals, advantages, applications, and current capabilities. He walks you through obtaining, installing, and configuring JavaSpaces architecture, addressing common problems such as authorization configuration and improper codebase settings. Next, he introduces the fundamental concepts of development, including entries, leasing, events, transactions, and persistence.

You'll learn powerful distributed programming techniques, including the effective use of data structures and collections; and better ways to improve performance, prevent deadlock, and take full advantage of parallelism. Halter provides in-depth coverage of scalability and availability, concluding with detailed guidance on using security features based on Java 2 technology to protect distributed JavaSpaces applications.

Extensive code examples illustrate:

  • Leasing and events
  • Transactions and persistence
  • Jini technology interfaces
  • Performance optimization
  • Data structures
  • Collections
  • Preventing deadlock
  • Maximizing parallelism
  • Distributed application security
  • Improving scalability

Table of Contents

Preface.

I. GETTING TO KNOW JAVASPACES.

1. About JavaSpaces.

What Is a JavaSpace? JavaSpace Interface. Jini and JavaSpaces. Shared Distributed Computing. Persistent Object Repository. Uses of JavaSpaces. Information Sharing. Compute Serving. Work Flow. What's Next.


2. Obtaining and Installing JavaSpaces.

Getting Java Installed. Getting and Installing Jini. Sun Community Source License (SCSL). Getting Jini. Installing Jini. Getting a JavaSpace Running. Starting the Supporting Services. Starting with the GUI. Starting from the Command Line. Running the Ray-Tracing Example. What's Next.


3. JavaSpaces Basics.

Coding Conventions. Finding a JavaSpace. Compiling. Running the Services. Running the Example. Entries. Writing an Entry. Compiling. Running the Example. Reading an Entry. Entry Templates. Compiling. Running the Example. Taking an Entry. Compiling. Running the Example. The Snapshot Method. What's Next.


4. More JavaSpaces.

Leasing. Using Leases with JavaSpaces. Compiling. Running the Example. Using Transactions with JavaSpaces. Creating a Transaction. Transactions and JavaSpace Methods. Using Transactions with JavaSpaces. Distributed Events. Distributed Events and JavaSpaces. Event Example. Persistence. What's Next.

II. DISTRIBUTED PROGRAMMING.


5. Encouraging Distribution.

Distributed Concepts. Parallelism. Partial Failure. Communication/Synchronization. Distributed Structures. Arrays. Compiling. Running the Example. Queues. Unordered Structures. What's Next.


6. Synchronization Issues.

Types of Synchronization Problems. Data Corruption. Deadlock Problems. Starvation Problems7. Synchronization Methodologies. Basic JavaSpace Mechanisms. Space Initialization. Semaphores. The Music Store Example. Compiling. To compile the classes for the synchronization example in Windows, use the following. What's Next.


7. Fairly Sharing Resources.

Sharing Fairly. Order-Processing Example. Item Viewer. Compiling. Running the Example. What's Next.

III. GOING TO THE NEXT LEVEL.


8. Parallel Computing.

Parallel Computing in General. Splitting Tasks up. Piecing Together the Results. A Parallel Computing Framework. A Prime Number Counter Application. Compiling. Running the Example. Scaling Further. Scaling Further Still. What's Next.


9. Security Issues.

Security in General. Security Model. RMID Security. Policy Files. Service Policies. Client Policy Files. Signing Files. JavaSpaces Security.


10. Wrapping It up.

Useful Places for Information. Web Sites. Mailing Lists. Other Technologies of Interest.


Conclusion.
Index.

商品描述(中文翻譯)

- 實作豐富的 JavaSpaces 技術指南
- 建立穩健、可擴展、高效能的分散式應用程式
- 基於 Jini 1.1 網路技術和 JDK 1.4 軟體的最新內容
- 實用解決方案針對分散式開發中最常見的挑戰

這本實作豐富的 JavaSpaces 技術指南:為在職開發者建立更穩健、可擴展和安全的分散式應用程式!

JavaSpaces 技術透過提供一個共享的虛擬空間,簡化了分散式計算,讓任務、請求和資訊可以輕鬆以基於 Java™ 技術的物件形式進行交換。《JavaSpaces 逐步示範》提供了對 JavaSpaces 架構及其基於 Jini 網路技術的介面的豐富示範介紹。利用本書的廣泛範例和專案,經驗豐富的開發者幾乎可以立即開始使用 JavaSpaces 規範來建立應用程式,並迅速掌握增強安全性、效能和可擴展性的進階技術。

Steven L. Halter 首先介紹 JavaSpaces 技術:其目標、優勢、應用和當前能力。他帶領您了解如何獲取、安裝和配置 JavaSpaces 架構,並解決常見問題,如授權配置和不當的程式碼庫設定。接下來,他介紹開發的基本概念,包括條目、租約、事件、交易和持久性。

您將學習強大的分散式程式設計技術,包括有效使用資料結構和集合;以及改善效能、防止死鎖和充分利用平行處理的更好方法。Halter 深入探討可擴展性和可用性,最後提供有關如何使用基於 Java 2 技術的安全功能來保護分散式 JavaSpaces 應用程式的詳細指導。

廣泛的程式碼範例說明:
- 租約和事件
- 交易和持久性
- Jini 技術介面
- 效能優化
- 資料結構
- 集合
- 防止死鎖
- 最大化平行處理
- 分散式應用程式安全性
- 改善可擴展性

目錄
前言。

I. 認識 JavaSpaces。
1. 關於 JavaSpaces。
JavaSpace 是什麼?JavaSpace 介面。Jini 和 JavaSpaces。共享分散式計算。持久物件儲存庫。JavaSpaces 的用途。資訊共享。計算服務。工作流程。接下來的步驟。

2. 獲取和安裝 JavaSpaces。
安裝 Java。獲取和安裝 Jini。Sun 社群來源授權 (SCSL)。獲取 Jini。安裝 Jini。啟動 JavaSpace。啟動支援服務。從 GUI 開始。從命令列啟動。執行光線追蹤範例。接下來的步驟。

3. JavaSpaces 基礎。
編碼慣例。尋找 JavaSpace。編譯。執行服務。執行範例。條目。撰寫條目。編譯。執行範例。讀取條目。條目範本。編譯。執行範例。取得條目。編譯。執行範例。快照方法。接下來的步驟。

4. 更多 JavaSpaces。
租約。使用租約與 JavaSpaces。編譯。執行範例。使用交易與 JavaSpaces。創建交易。交易和 JavaSpace 方法。使用交易與 JavaSpaces。分散式事件。分散式事件和 JavaSpaces。事件範例。持久性。接下來的步驟。

II. 分散式程式設計。
5. 鼓勵分散。
分散概念。平行處理。部分失敗。通訊/同步。分散結構。陣列。編譯。執行範例。佇列。無序結構。接下來的步驟。

6. 同步問題。
同步問題的類型。資料損壞。死鎖問題。饑餓問題。同步方法論。基本 JavaSpace 機制。空間初始化。信號量。音樂商店範例。編譯。在 Windows 中編譯同步範例的類別,請使用以下命令。接下來的步驟。

7. 公平分享資源。
公平分享。訂單處理範例。項目檢視器。編譯。執行範例。接下來的步驟。

III. 進入下一個層次。
8. 平行計算。
一般的平行計算。分割任務。拼湊結果。平行計算框架。一個質數計數器應用程式。編譯。執行範例。進一步擴展。再進一步擴展。接下來的步驟。

9. 安全問題。
一般安全性。安全模型。RMID 安全性。政策檔案。服務政策。客戶端政策檔案。簽署檔案。JavaSpaces 安全性。

10. 總結。
有用的資訊來源。網站。郵件列表。其他相關技術。

結論。索引。