Real-time Java: Difference between revisions

Content deleted Content added
Gecato1 (talk | contribs)
m corrected product description
Bender the Bot (talk | contribs)
m HTTP to HTTPS for Cornell University
 
(37 intermediate revisions by 17 users not shown)
Line 1:
{{more footnotes|date=June 2017}}
'''Real time Java''' is a catch-all term for a combination of technologies that enables programmers to write [[Computer program|program]]s that meet the demands of [[Real-time computing|real-time]] [[systems]] in the [[Java (programming language)|Java programming language]].
{{primary sources|date=June 2017}}
'''Real -time Java''' is a catch-all term for a combination of technologies that enables programmers to write [[Computercomputer program|program]]s that meet the demands of [[Realreal-time computing|real-time]] [[systems]] in the [[Java (programming language)|Java programming language]].
 
Java's sophisticated [[memory management]], native support for [[Threadthread (computer sciencecomputing)|threading]] and concurrency, [[type safety]], and relative simplicity have created a demand for its use in many domains. Its capabilities have been enhanced to support real -time computational needs:
 
* Real -time Java supports a strict [[Preemption_preemption (computing)|priority -based]] [[Threadthread (computer sciencecomputing)|threading]] model,
* because Java threads support priorities, Java [[Locklock (softwarecomputer engineeringscience)|locking]] mechanisms support [[priority inversion]] avoidance techniques, such as [[priority inheritance]] or the [[priority ceiling protocol]], and
* event handling.
 
The initial proposal<ref>{{Cite web| title=Issues in the Design and Implementation of Real-Time Java | url=https://www.cs.cornell.edu/courses/cs614/1999sp/papers/rtji.pdf | archive-url=https://web.archive.org/web/20170809011950/http://www.cs.cornell.edu/courses/cs614/1999sp/papers/rtji.pdf | archive-date=2017-08-09}}</ref> for an open standard for real-time Java was put forth by Kelvin Nilsen, then serving as a research faculty member at Iowa State University. A follow-on overview paper was published in the ''[[Communications of the ACM]]''.<ref>{{cite journal | url=https://dl.acm.org/doi/abs/10.1145/276609.276619 | doi=10.1145/276609.276619 | title=Adding real-time capabilities to Java | date=1998 | last1=Nilsen | first1=Kelvin | journal=Communications of the ACM | volume=41 | issue=6 | pages=49–56 }}</ref> The overwhelmingly positive response to these early proposals resulted in a series of meetings hosted by the National Institute of Standards and Technology in an effort to establish an open standard for real-time Java. NIST was ultimately told that they were not the appropriate body to establish standards related to the Java language, as Java was trademarked, and the technologies were owned by Sun Microsystems. Therefore, NIST ended their efforts with publication of consensus requirements.<ref>{{cite journal | url=https://www.itl.nist.gov/div897/ctg/real-time/rtj-final-draft.pdf | title=Information Technology Laboratory | journal=NIST | date=28 April 2015 }}</ref> that could be considered by future standardization efforts to be hosted by Sun Microsystems.
To overcome typical real time difficulties, the [[Java Community Process|Java Community]] introduced a specification for real-time Java, JSR001. A number of implementations of the resulting ''[[Real-time specification for Java|Real-Time Specification for Java]]'' (RTSJ) have emerged, including a [[Reference implementation (computing)|reference implementation]] from [[TimeSys|Timesys]], [[IBM]]'s WebSphere Real Time, [[Sun Microsystems]]'s Java SE Real-Time Systems,<ref>[http://java.sun.com/javase/technologies/realtime/index.jsp Java SE Real-Time Systems]</ref> [http://www.ptc.com/developer-tools/perc PTC Perc] from [[PTC, Inc.]], or [[JamaicaVM]] from [[aicas]].
 
To overcome typical real time difficulties,When the [[Java Community Process|Java Community]] introducedwas aformed, the very first effort was the specification for real-time Java, JSR001. A number of implementations of the resulting ''[[Real-time specification for Java|Real-Time Specification for Java]]'' (''RTSJ'') have emerged, including a [[Referencereference implementation (computing)|reference implementation]] from [[TimeSys|Timesys]], [[IBM]]'s WebSphere Real Time, [[Sun Microsystems]]'s Java SE Real-Time Systems,<ref>[{{Cite web|url=http://java.sun.com/javase/technologies/realtime/index.jsp|title=Sun Java SE Real-Time Systems]System|website=java.sun.com}}</ref> PTC Perc from [[PTC, Inc.]],<ref>{{Cite web|url=http://www.ptc.com/developer-tools/perc|title=Real-Time Java with PTC Perc] from&#124; [[PTC, Inc.]],}}</ref> or [[JamaicaVM]] from [[aicas]].
The RTSJ addressed the critical issues by mandating a minimum specification for the threading model (and allowing other models to be plugged into the VM) and by providing for areas of [[memory]] that are not subject to garbage collection, along with threads that are not preemptable by the garbage collector. These areas are instead managed using [[region-based memory management]]. The latest specification, 2.0, supports direct device access and deterministic garbage collection as well.
 
The RTSJ addressed the critical issues by mandating a minimum specification for the threading model (and allowing other models to be plugged into the VM) and by providing for areas of [[memory]] that are not subject to garbage collection, along with threads that are not preemptable by the garbage collector. These areas are instead managed using [[region-based memory management]]. The latest specification, 2.0, supports direct device access and deterministic garbage collection as well.
 
==Real-Time Specification for Java==
The ''Real-Time Specification for Java'' (RTSJ) is a set of [[Interface (computer science)|interface]]s and behavioral refinements that enable real-time [[computer programming]] in the [[Java (programming language)|Java programming language]]. RTSJ 1.0 was developed as JSR 1 under the [[Java Community Process]], which approved the new standard in November, 2001. RTSJ 2.0 is being developed under JSR 282. A draft version is available at [a JCP page.<ref>https://www.jcp.org/en/jsr/detail?id=282 JSR 282 JCP Page]. </ref> More information can be found atfrom [Aicas.<ref>{{Cite web | title=Real-Time Specification for Java {{!}} aicas.com | url=https://www.aicas.com/cms/rtsj RTSJ| 2archive-url=https://web.0]archive.org/web/20150526085240/https://www.aicas.com/cms/rtsj | access-date=2025-02-17 | archive-date=2015-05-26}}</ref>
 
==See also==
* [[Javolution]] - RTSJ Compliant Java Library ([[open-source]])
*[[Functional specification]]
*[[Javolution]] - RTSJ Compliant Java Library ([[open-source]])
 
==References==
Line 22 ⟶ 25:
 
==External links==
* [https://www.cs.cornell.edu/courses/cs614/1999sp/papers/rtji.pdf Issues in the Design and Implementation of Real-Time Java]
* [https://dl.acm.org/doi/abs/10.1145/276609.276619 Adding Real-Time Capabilities to Java]
* [https://www.itl.nist.gov/div897/ctg/real-time/rtj-final-draft.pdf Requirements for Real-Time Extensions for the Java Platform]
* [http://aicas.com/cms/en/rtsj Real-Time Specification for Java 2.0 (RTSJ 2.0)]
* [http://jcp.org/en/jsr/detail?id=282 JSR-282]
* [http://www.rtsj.org/ Real-Time Specification for Java (RTSJ)]
* [http://jcp.org/en/jsr/detail?id=1 JSR-1]
* [https://web.archive.org/web/20090130041631/http://www-03.ibm.com/linux/realtime.html IBM WebSphere Real Time] a fully conformant RTSJ SE VM
* [http://www.aicas.com/jamaica.html JamaicaVM] {{Webarchive|url=https://web.archive.org/web/20120229051714/http://www.aicas.com/jamaica.html |date=2012-02-29 }} an RTSJ SE implementation with deterministic garbage collection
* [http://www.ptc.com/developer-tools/perc PTC Perc] a real-time VM based on Java Standard Edition but with a patented deterministic garbage collection technology rather than RTSJ
* [http://www.oracle.com/technetwork/java/javase/tech/index-jsp-139921.html Sun Java SE Real-Time System]
* [http://www.apogee.com/ Apogee real-time Java with real-time GC (discontinued)]
* [http://www.timesys.com/java/ Timesys RTSJ implementation and testing toolkit]
* [httphttps://jrate.sourceforge.net/ jRate (Java Real-Time Extension)] an open-source extension of the GNU GCJ compiler front-end and runtime system which adds support for most of the features required by the RTSJ.
* [http://www.cs.purdue.edu/homes/jv/JTRES05/index.html International Workshop on Java Technologies for Realtime and Embedded Systems (JTRES 2005)] {{Webarchive|url=https://web.archive.org/web/20130831081730/http://www.cs.purdue.edu/homes/jv/JTRES05/index.html |date=2013-08-31 }} [http://www-users.cs.york.ac.uk/~andy/JTRES06/ JTRES 2006] [http://www.vmars.tuwien.ac.at/jtres2007/ JTRES 2007] {{Webarchive|url=https://web.archive.org/web/20120206032740/http://www.vmars.tuwien.ac.at/jtres2007/ |date=2012-02-06 }} [http://jtres.java.sun.com/2008/ JTRES 2008] {{Webarchive|url=https://web.archive.org/web/20080628074409/http://jtres.java.sun.com/2008/ |date=2008-06-28 }} [http://pan.vmars.tuwien.ac.at/jtres2009/ JTRES 2009] {{Webarchive|url=https://web.archive.org/web/20150714214039/http://pan.vmars.tuwien.ac.at/jtres2009/ |date=2015-07-14 }} [http://d3s.mff.cuni.cz/conferences/jtres2010/ JTRES 2010] [http://www.artist-embedded.org/artist/JTRES-2011.html JTRES 2011] [http://jtres2013.atego.com/ JTRES 2012] {{Webarchive|url=https://web.archive.org/web/20131007110627/http://jtres2013.atego.com/ |date=2013-10-07 }} [http://jtres2013.atego.com/ JTRES 2013] {{Webarchive|url=https://web.archive.org/web/20131007110627/http://jtres2013.atego.com/ |date=2013-10-07 }} [http://jtres2014.compute.dtu.dk/ JTRES 2014] [http://jtres2015.univ-mlv.fr/ JTRES 2015]
* [httphttps://wwwgit.robotcs.lth.se/javaljrt/ljrtcompiler LJRT Lund Java based Real-Time] [https://launchpad.net/ljrt LJRT open source]
* {{usurped|1=[https://web.archive.org/web/20110106194536/http://www.ovmj.net/ Ovm]}}
* {{usurped|1=[https://web.archive.org/web/20090714105647/http://www.fiji-systems.com/ Fiji VM real-time Java ]}}
* [httphttps://rtjava.blogspot.com/2009/07/real-time-java-vms.html Real-time Java VMs ]
 
{{DEFAULTSORT:Real Time Java}}
[[Category:Java (programming language)]]
[[Category:Real-time computing]]