Home > Store > Programming > Java
Real-Time Java Platform Programming
- By Peter C. Dibble
- Published Mar 11, 2002 by Prentice Hall.
- Copyright 2002
- Dimensions: K
- Pages: 352
- Edition: 1st
- Book
- ISBN-10: 0-13-028261-8
- ISBN-13: 978-0-13-028261-3
Register your product to gain access to bonus material or receive a coupon.
Product Author Bios
PETER DIBBLE, a member of the team that created the Real-Time Specification for the Java platform, was also on the Microware Systems Corporation team that first ported the Sun Java platform to an embedded system and produced the first version of Personal Java technology for a commercial RTOS. He has over a decade's experience with real-time system software and is author of OS-9 Insights and The Complete Guide to OS-9.
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
|
23 of 23 people found the following review helpful
By
This review is from: Real-Time Java Platform Programming (Paperback)
Java programs have the reputation of being slow. Performance is thought to beJava's trade off for cross platform portability and higher developer productivity. Real-time systems demand on time responses and in many cases, should not fail. At the first glimpse, Java seems quite unsuitable for real-time systems. Well, if you think so, you might want to read Peter C. Dibble's book "Real-Time Java Platform Programming". In fact, real-time specification is the first Java Specification Request The focus of this book is not well known Java syntax and API functions. This |
› See the customer review...
Online Sample Chapter
Introduction to the Real-Time Java Platform
Preface
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
Table of Contents
Preface.
Introduction.
1. Landscape.
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.
9. Closures.
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.
Index.
Book
This product currently is not for sale.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. 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. That's a total savings of $199.

