What exactly is the Java Real Time Specification? That is, how does it differ from the "regular" Java SE or Java EE specifications?
What exactly is RTSJ, the Real-Time Specification for Java?
1.8k Views Asked by Marcus Leon At
3
There are 3 best solutions below
0

I assume you're talking about RTSJ, the Real-Time Specification for Java. This is a set of interfaces and related behavioral specifications that enable real-time development in Java.
That is, how does it differ from the "regular" Java SE or Java EE specifications.
RTSJ extends the Java language and library specifications in a way that permits real-time development to happen. For example, it's possible to specify regions of memory that aren't subject to garbage collection, which is more or less impossible with vanilla Java.
You can read a PDF version of the full spec here.
Basically, this is something you won't be able to achieve with the regular VM (and its stop-the-world GC amongst other things), hence the need for another specification:
I warmly recommend the reading of: