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

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $42.00
Usually ships in 1-2 business days
(Save 29%)
Other sellers (Paperback)
  • All (7) from $42.00   
  • New (4) from $42.75   
  • Used (3) from $42.00   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2007

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.


Ships from: Avenel, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
Seller since 2008

Feedback rating:


Condition: New
Brand New, Perfect Condition, Please allow 4-14 business days for delivery. 100% Money Back Guarantee, Over 1,000,000 customers served.

Ships from: Westminster, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
Seller since 2015

Feedback rating:


Condition: New
0137142986 Premium Publisher Direct Books are Like New or Brand New books direct from the publisher sometimes at a discount. Multiple copies are usually available. These books ... are not available for expedited shipping and may take up to 14 business days to receive. Read more Show Less

Ships from: Agoura Hills, CA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Express, 48 States
Seller since 2015

Feedback rating:


Condition: New

Ships from: Idyllwild, CA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Sort by


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
Read More Show Less

Product Details

  • ISBN-13: 9780137142989
  • Publisher: Prentice Hall
  • Publication date: 6/19/2009
  • Series: Java Series
  • Edition description: New Edition
  • Pages: 432
  • Product dimensions: 7.00 (w) x 9.00 (h) x 0.90 (d)

Meet the Author

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.

Read More Show Less

Table of Contents

Preface xiii

Acknowledgments xix

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

Bibliography 391

Index 393

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)