$1,290Core Servlets and JavaServer Pages, Vol. 1: Core Technologies, 2/e
$399Smart Environments : Technology, Protocols and Applications
$299Ajax Patterns and Best Practices (Paperback)
$299Beginning XML with DOM and Ajax: From Novice to Professional
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.
- the new memory management model,
- the augmented clock and time facilities,
- 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.
Clocks and Time.
Scheduling and Schedulable Objects.
Asynchronous Events and their Handlers.
Asynchronous Transfer of Control.
Physical and Raw Memory.
Case Study: Automobile Cruise Control System.
High-Integrity Real-Time Systems.
Appendix: Java Class and Interface Specification.