Can I take code written for Java RTS and run it on another vendors implementation of RTSJ?
If that vendor’s product is fully compliant to the RTSJ, then the program should run. As mentioned above, different hardware and/or system implementations might mean some adjustment to the program is necessary, but it is far simpler than the typical full rewrite of the program as would be required when moving traditional real-time systems from one vendor to another. Among the factors to consider are: • Latency and jitter might be different when using a different provider, and thus a feasible set of instances of Schedulable (a real-time function) on one implementation might not be feasible on the other. (Note: “feasibility” refers to the ability of the real-time code to complete its tasks within the specified window of time, also known as the period.) • The same is true if the throughput, that is, processor capability, is very different. • Also, if your RTSJ provider has offered extra scheduling algorithms or happenings, these might not be available on the other implementation. (Note: “
If that vendor’s product is fully compliant to the RTSJ, then the program should run. As mentioned above, different hardware and/or system implementations might mean some adjustment to the program is necessary, but it is far simpler than the typical full rewrite of the program as would be required when moving traditional real-time systems from one vendor to another. See question 24 for more details.