Refactoring Real-Time Java Profiles

Publikation: Forskning - peer reviewKonferenceartikel i proceeding

Vis graf over relationer


Just like other software, Java profiles benefits from refactoring when they have been used and have evolved for some time. This paper presents a refactoring of the Real-Time Specification for Java (RTSJ) and the Safety Critical Java (SCJ) profile (JSR-302). It highlights core concepts and makes it a suitable foundation for the proposed levels of SCJ. The ongoing work of specifying the SCJ profile builds on sub classing of RTSJ. This spurred our interest in a refactoring approach. It starts by extracting the common kernel of the specifications in a core package, which defines interfaces only. It is then possible to refactor SCJ with its three levels and RTSJ in such a way that each profile is in a separate package. This refactoring results in cleaner class hierarchies with no superfluous methods, well defined SCJ levels, elimination of SCJ annotations like @SCJAllowed, thus making the profiles easier to comprehend and use for application developers and students.
OriginalsprogEngelsk
TitelObject/Component/Service-Oriented Real-Time Distributed Computing (ISORC), 2011 14th IEEE International Symposium on
Antal sider16
UdgiverIEEE
Udgivelsesdato28 mar 2011
Sider109 - 116
DOI
StatusUdgivet

Emneord

  • Refactoring, Safety Critical Java, Real-time Java, Real-time embedded systems

ID: 63485452