Real-Time Java Programming: With Java RTS (Java Series)

Paperback
from $0.00

Author: Eric J. Bruno

ISBN-10: 0137142986

ISBN-13: 9780137142989

Category: API & Controls

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...

Search in google:

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 developersSun 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

Preface xiiiAcknowledgments xixAbout the Authors xxiPart I: Real-Time Computing Concepts 1Chapter 1: Real-Time for the Rest of Us 3Qualities of Real-Time Systems 3Predictability and Determinism 7Real-Time Computing 15Real-Time Scheduling 18Further Reading 35Chapter 2: Real-Time and Java SE 37Is Java a Real-Time Language? 37Garbage Collection 40Garbage Collection in Sun’s Java SE 6 HotSpot 48Real-Time GC Algorithms 66The Java Dilemma 76Chapter 3: The Real-Time Specification for Java 77A Foundation for Real-Time Java 78Inside the RTSJ 81Optional RTSJ Facilities 92The Future of Real-Time Java 92Chapter 4: The Sun Java Real-Time System 95A Prelude to Java RTS Programming 96Installing Java RTS 102Guide to Determinism 107Command-Line Options 133Part II: Inside Java RTS 143Chapter 5: Threads, Scheduling, and New Memory Models 145Schedulable Objects 146Real-Time Threads 159Memory Models 185Chapter 6: Synchronization 203Resource Sharing 203Wait-Free Thread Communication 209Chapter 7: The Real-Time Clock API 223The Clock API 223Java RTS High-Resolution Time Operations 226A Conflated Stock Data Feed Example 229Chapter 8: Asynchronous Events 237Asynchronous Event Processing 237Building an Asynchronous Event Handler (AEH) 240Time-Based Events 258Chapter 9: Asynchronous Transfer of Control and Thread Termination 269Asynchronous Transfer of Control (ATC) 269Asynchronous Thread Termination 284Chapter 10: Inside the Real-Time Garbage Collector 289RTGC Theory of Operation 290RTGC Memory Allocation 302RTGC Policies 306Part III: Using Java RTS 315Chapter 11: An Equities Trading System 317The Equities Market 317The Trading System Implementation 319The Java SE Version 322The Java RTS Version 333The Java RTS No-Heap Version 336Application Confi guration 346Chapter 12: Java RTS Tools 347Java RTS Development 347The Thread Schedule Visualizer (TSV) 353Java RTS DTrace Probes 373Bibliography 391Index 393