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)

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

商品描述

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.