July 02, 2007
Java RTS Download Available
Sun has made their recently-released Java Real-Time System (Java RTS) version 2 available to the public through a 90-day evaluation download.
On Friday, Sun announced a free 90-day evaluation license (and perpetual academic-use license) and download on their Java site. You can also download the full set of documentation, which includes the JavaDocs for the real-time libraries; information on how the real-time garbage collector (RTGC) works; pre-compilation and pre-initialization of classes; and a "getting started" guide that walks you through the basics, as well as an example application.
Java RTS is Sun's Real-Time Specification for Java (RTSJ)-compliant implementation for Java. It provides predictability and determinism for applications subject to time constraints. If you need guarantees regarding maximum overall system latency, GC pause times, thread priority implementations, and high-resolution timers, you should try Java RTS.
Almost no code changes are required to get started; you simply need to identify your time-critical code, ensure it executes within a javax.realtime.RealtimeThread instead of a standard java.lang.Thread, and set its priority accordingly. If your code uses classes that extend Thread or implement Runnable, then all you'll need to do is either extend RealtimeThread instead, or create a RealtimeThread for your Runnable, respectively. This will amount to only a handful of lines of code overall. Give it a try and see what you think.
Happy coding,
EJB
Posted by Eric Bruno at 01:46 PM Permalink
|