Real-Time Java Programming: With Java RTS
Product Author Bios
Eric J. Bruno, systems engineer at Sun Microsystems, specializes in Java RTS in the financial community. He is contributing editor for Dr. Dobb’s Journal, and writes its online Java blog. Prior to Sun, Eric worked at Reuters where he developed real-time trading systems, order-entry and routing systems, as well as real-time news and quotes feeds, in both Java and C++.
Greg Bollella, Ph.D., distinguished engineer at Sun Microsystems, leads R&D for real-time Java. He was specifi cation lead for JSR-001, the Real-Time Specification for Java (RTSJ), and led the Real-Time for Java Expert Group under the Java Community Process. He has written multiple books, articles, and professional papers about real-time computing. He has a Ph.D. in computer science from the University of North Carolina at Chapel Hill, where he wrote a dissertation on real-time scheduling theory and real-time systems implementation.
The Definitive Guide to Java RTS for Developers and Architects
- For Java developers and architects moving to real-time, and real-time developers moving to Java
- Walks through start-to-finish case study applications, identifying their constraints and discussing the APIs and design patterns used to address them
- Written by the former leader of the real-time Java standards process and one of Wall Street’s top real-time developers
Sun Microsystems’ Java Real-Time System (Java RTS) is proving itself in numerous, wide-ranging environments, including finance, control systems, manufacturing, and defense. Java RTS and the RTSJ standard (JSR-001) eliminate the need for complicated, specialized, real-time languages and operating environments, saving money by leveraging Java’s exceptional productivity and familiarity.
In Real-Time Java™ Programming, two of Sun’s top real-time programming experts present the deep knowledge and realistic code examples that developers need to succeed with Java RTS and its APIs. As they do so, the authors also illuminate the foundations of real-time programming in any RTSJ-compatible environment.
Key topics include
- Real-time principles and concepts, and the unique requirements of real-time application design and development
- How Java has been adapted to real-time environments
- A complete chapter on garbage collection concepts and Java SE collectors
- Using the Java RTS APIs to solve actual real-time system problems as efficiently as possible
- Utilizing today’s leading Java RTS development and debugging tools
- Understanding real-time garbage collection, threads, scheduling, and dispatching
- Programming new RTSJ memory models
- Dealing with asynchronous event handling and asynchronous transfer of control
Please visit the author's website at www.ericbruno.com/realtime.
7 of 7 people found the following review helpful
a earnest book about a serious subject,
This review is from: Real-Time Java Programming: With Java RTS (Paperback)Original review by Gianfranco Tognana, JUG Lugano www.juglugano.ch
This book starts very intriguing: An elavator is a real time system. A web server is not.
Real Time in not 'run as fast as you can' like the Gingerbread says. It is all about reliable timing.
This book explain in thorough (very thorough) detail what's wrong with standard java and what happens when RTSJ comes to the rescue.
You will learn how the garbage collector, a bad guy of standard java, is tamed, the JIT compiler, another nasty mug, is rendered harmless and how you can instruct threads to perform exactly what you want and not let them dawdle.
You will find:
long deep theoretical explanations of how the garbage collertors are (or could be) implemented and
long deep theoretical and practical explanations of how you can avoid the JIT compiler and
long deep theoretical and practical explanations of how you can avoid the dynamic classloading and
long deep... Read more
3 of 3 people found the following review helpful
Great Book with a useful final use case in the Investment Bank area,
This review is from: Real-Time Java Programming: With Java RTS (Paperback)This book really is a must-have for experienced Java developers who want to dig into the real-time programming in Java. It provides a solid background of the main concerns affecting non real-time environments and how these can be addressed by using RTSJ complaint JVMs and the real-time systems in general. Being a long term Investment Bank employee, I found it really interesting the examples proposed across the book. In fact, they are mostly based on finance related use cases (Chapter 11), like Order Routing Management and Equity Derivatives Systems having to deal with real-time Market Data feeds. Maybe, the only downside or, let's say missing, is that when it comes to Chapter 12, it "only" focuses on the tracing tools available in Solaris 10 (DTrace) used by the Sun Thread Scheduling Visualizer (TSV) tool, not mentioning other platforms (Linux based) on which the real-time JVM can run (see the IBM Websphere Real Time JVM), which is understandable given that the book has been written... Read more
0 of 3 people found the following review helpful
A top pick for any in-depth, serious Java programmer's library,
This review is from: Real-Time Java Programming: With Java RTS (Paperback)Java programmers and collections catering to them will relish Real-Time Java Programming with Java RTS, the definitive guide for developers and libraries catering to them. The Real-Time System has wide applications from business to manufacturing and defense: Real-Time Java Programming with Java RTS comes from two top Sun programming experts who provide code examples and keys to development concepts. A top pick for any in-depth, serious Java programmer's library.
› See all 3 customer reviews...
Online Sample Chapter
Download the sample pages (includes Chapter 1 and Index)
Table of Contents
About the Authors xxi
Part I: Real-Time Computing Concepts 1
Chapter 1: Real-Time for the Rest of Us 3
Qualities of Real-Time Systems 3
Predictability and Determinism 7
Real-Time Computing 15
Real-Time Scheduling 18
Further Reading 35
Chapter 2: Real-Time and Java SE 37
Is Java a Real-Time Language? 37
Garbage Collection 40
Garbage Collection in Sun’s Java SE 6 HotSpot 48
Real-Time GC Algorithms 66
The Java Dilemma 76
Chapter 3: The Real-Time Specification for Java 77
A Foundation for Real-Time Java 78
Inside the RTSJ 81
Optional RTSJ Facilities 92
The Future of Real-Time Java 92
Chapter 4: The Sun Java Real-Time System 95
A Prelude to Java RTS Programming 96
Installing Java RTS 102
Guide to Determinism 107
Command-Line Options 133
Part II: Inside Java RTS 143
Chapter 5: Threads, Scheduling, and New Memory Models 145
Schedulable Objects 146
Real-Time Threads 159
Memory Models 185
Chapter 6: Synchronization 203
Resource Sharing 203
Wait-Free Thread Communication 209
Chapter 7: The Real-Time Clock API 223
The Clock API 223
Java RTS High-Resolution Time Operations 226
A Conflated Stock Data Feed Example 229
Chapter 8: Asynchronous Events 237
Asynchronous Event Processing 237
Building an Asynchronous Event Handler (AEH) 240
Time-Based Events 258
Chapter 9: Asynchronous Transfer of Control and Thread Termination 269
Asynchronous Transfer of Control (ATC) 269
Asynchronous Thread Termination 284
Chapter 10: Inside the Real-Time Garbage Collector 289
RTGC Theory of Operation 290
RTGC Memory Allocation 302
RTGC Policies 306
Part III: Using Java RTS 315
Chapter 11: An Equities Trading System 317
The Equities Market 317
The Trading System Implementation 319
The Java SE Version 322
The Java RTS Version 333
The Java RTS No-Heap Version 336
Application Confi guration 346
Chapter 12: Java RTS Tools 347
Java RTS Development 347
The Thread Schedule Visualizer (TSV) 353
Java RTS DTrace Probes 373
Book + eBook Bundle
Book Price $43.99
eBook Price $15.40
eBook formats included
This book includes free shipping!
This book includes free shipping!
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
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.