Concurrent and Real-Time Programming in Java (Paperback)

Andrew Wellings

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




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:



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.


Appendix: Java Class and Interface Specification.





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


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