Register your product to gain access to bonus material or receive a coupon.
Real-Time Java Platform Programming
- Sorry, this book is no longer in print.
- Copyright 2002
- Dimensions: K
- Pages: 352
- Edition: 1st
- ISBN-10: 0-13-028261-8
- ISBN-13: 978-0-13-028261-3
Build powerful real-time Java platform applications.
- The authoritative reference to the Real-Time Specification for Java (RTSJ)by one of its creators
- Complete introduction to Java-based RT developmentno real-time experience necessary
- Covers scheduling, asynchronous transfer control, timers, non-heap memory, garbage collection, performance tradeoffs, program structure, and more
Written for experienced Java platform developers, this practical guide provides a solid grounding in real-time programming. Dibble, a member of the RTSJ expert group, starts with an overview of real-time issues unique to the Java platform. He then explains how to use each major feature of the RTSJ.
From broad real-time principles to detailed programming pitfalls, Real-Time Java Platform Programming covers everything you need to know to build effective RT programs. Key topics include:
- Interoperability with non-RT code, tradeoffs in real-time development, and RT issues for the JVMtm software
- Garbage collection, non-heap access, physical and "immortal" memory, and constant-time allocation of non-heap memory
- Priority scheduling, deadline scheduling, and rate monotonic analysis
- Closures, asynchronous transfer of control, asynchronous events, and timers
State-of-the-art information for RT developers:
- Threads scheduling
- Real-time scheduling
- Raw memory access
- Performance tradeoffs
- Recommended practices
- Implementation hints
- Dozens of code examples and step-by-step walk-throughs
Online Sample Chapter
Table of Contents
2. Architecture of the Java Virtual Machine.
3. Hardware Architecture.
4. Garbage Collection.
5. Priority Scheduling.
6. Scheduling with Deadlines.
7. Rate Monotonic Analysis.
8. Introduction to the Real-Time Java Platform.
10. High-Resolution Time.
11. Async Events.
12. Real-Time Threads.
13. Non-Heap Memory.
14. Non-Heap Access.
15. More Async Events.
16. Reusing Immortal Memory.
17. Asynchronous Transfer of Control.
18. Physical Memory.
19. Raw Memory Access.
20. Synchronization without Locking.
21. Recommended Practice.
You can treat this book as two closely-related books. Chapters 1 through 7 are background that might help understand the RTSJ. The remainder of the book is about the RTSJ itself. If you already understand real-time scheduling, or you donUt care about scheduling and want to get directly to the code, you can start at Chapter 8 and read from that point on. Other than possibly skipping the first seven chapters, I do not recommend skipping around. Few of the chapters can stand by themselves. After youUve skimmed the book once, it can work as reference material, but I suggest that you start by reading the book sequentially.
This book is intended to serve as part of a set comprising three elements: the RTSJ specification, the reference implementation, and this book. You can find the specification and the reference implementation through www.phptr.com/dibble or www.rtj.org. The preliminary RTSJ document is part of the Addison-Wesley Java Series. It is available in hard copy through your favorite book store. However, the preliminary RTSJ has been superseded by the final, version 1.0, version. At this time, the final specification is only available as downloadable PDF and HTML.
The reference implementation is a complete and usable implementation of the RTSJ for Linux. Almost every example in this book was tested on the reference implementation. I have used the reference implementation on PCs running Red Hat Linux and TimeSys Linux, and it should work with other versions of X86 Linux as well, but the reference implementation relies on the underlying operating system for scheduling, so you will find that features like priority inversion avoidance will depend on the version of Linux you use.
The source code for the reference implementation is available. Some of it is descended from the Sun CVM. That is available under the Sun community source license. The parts of the reference implementation that are not related to Sun code are covered under a less restrictive open source license.
Although the reference implementation is excellent for experimentation, it is not designed for commercial use. It does not take the care with performance or memory use that youUd expect from a commercial product.
You can find links to important web sites, corrections and extensions to this book, and probably other useful things like source code at www.phptr.com/dibble
ONE MONTH ACCESS!
Get unlimited 30-day access to thousands of Books & Training Videos about technology, professional development and digital media If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months.
Other Things You Might Like
- J2EE Platform Web Services
- Book $43.99