Concurrent and Real-Time Programming in Java (Paperback) (Java中的並發與即時程式設計)

Andrew Wellings

  • 出版商: Wiley
  • 出版日期: 2004-11-22
  • 定價: $1,500
  • 售價: 2.7$399
  • 語言: 英文
  • 頁數: 446
  • 裝訂: Paperback
  • ISBN: 047084437X
  • ISBN-13: 9780470844373
  • 相關分類: Java 程式語言
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

Description:

Real-time and embedded systems have to respond to externally generated input stimuli within a finite and predictable time. Their correctness depends not only on the logical results of the computations, but also on the time at which those results are produced.

Just over 10 years since its first conception, Java augmented by the Real-Time Specification for Java (RTSJ), is one of the most exciting developments in real-time systems. The approach has been to extend the concurrency model to sup-port real-time programming abstractions, and to provide a complementary approach to memory management that removes the temporal uncertainties of garbage collection.

The book starts with an introduction to concurrent and real-time programming. It then describes the concurrency model of Java, summarizing both its strengths and weaknesses. Examples abound, and a case study of concurrent searching is presented. The book then provides a detailed introduction to and examination of the RTSJ.

Topics include:

  • the new memory management model,
  • the augmented clock and time facilities,
  • scheduling,
  • asynchronous event handlers,
  • real-time threads,
  • asynchronous transfer of control,
  • resource control,
  • access to physical and access to raw memory.

A standard real-time case study - that of an automobile cruise control system - is given which demonstrates the efficacy of many of the new facil-ities. Before concluding, the book considers the use of Java and the RTSJ for high-integrity systems programming.

Table of Contents:

Preface.

Introduction.

Concurrent Programming in Java.

Communication and Synchronization.

Completing the Java Concurrency Model.

Implementing Communication Paradigms in Java.

Case Study: Concurrent Maze Search.

The Real-time Specification for Java.

Memory Management.

Clocks and Time.

Scheduling and Schedulable Objects.

Asynchronous Events and their Handlers.

Real-Time Threads.

Asynchronous Transfer of Control.

Resource Sharing.

Physical and Raw Memory.

Case Study: Automobile Cruise Control System.

High-Integrity Real-Time Systems.

Conclusions.

Appendix: Java Class and Interface Specification.

商品描述(中文翻譯)

描述:
即時和嵌入式系統必須在有限且可預測的時間內對外部產生的輸入刺激做出反應。它們的正確性不僅取決於計算的邏輯結果,還取決於產生這些結果的時間。

Java在首次構思後的10多年中,通過Java的實時規範(RTSJ)的增強,成為實時系統中最令人興奮的發展之一。這種方法是擴展並發模型以支持實時編程抽象,並提供一種補充方法來管理內存,以消除垃圾回收的時間不確定性。

本書首先介紹並發和實時編程,然後描述Java的並發模型,總結其優點和缺點。書中豐富的示例,並提供了並發搜索的案例研究。然後詳細介紹和檢查RTSJ。

主題包括:
- 新的內存管理模型
- 增強的時鐘和時間功能
- 調度
- 異步事件處理程序
- 實時線程
- 異步控制轉移
- 資源控制
- 訪問物理內存和原始內存

書中還提供了一個標準的實時案例研究,即汽車巡航控制系統,展示了許多新功能的有效性。在結尾之前,本書還考慮了Java和RTSJ在高完整性系統編程中的應用。

目錄:
- 前言
- 簡介
- Java中的並發編程
- 通信和同步
- 完成Java並發模型
- 在Java中實現通信範例
- 案例研究:並發迷宮搜索
- Java的實時規範
- 內存管理
- 時鐘和時間
- 調度和可調度對象
- 異步事件及其處理程序
- 實時線程
- 異步控制轉移
- 資源共享
- 訪問物理內存和原始內存