• DocumentCode
    2993174
  • Title

    Refactoring Real-Time Java Profiles

  • Author

    Sondergaard, Hans ; Thomsen, Bent ; Ravn, Anders P. ; Hansen, René R. ; Bogholm, Thomas

  • Author_Institution
    VIA Univ. Coll., Horsens, Denmark
  • fYear
    2011
  • fDate
    28-31 March 2011
  • Firstpage
    109
  • Lastpage
    116
  • Abstract
    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.
  • Keywords
    Java; safety-critical software; software maintenance; software packages; core package; real-time Java profiles refactoring; safety critical Java profile; Cloning; Guidelines; Java; Memory management; Programming; Proposals; Real time systems; RTSJ; Real-Time Java; Refactoring; Safety Critical Java; profiles;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC), 2011 14th IEEE International Symposium on
  • Conference_Location
    Newport Beach, CA
  • ISSN
    1555-0885
  • Print_ISBN
    978-1-61284-433-6
  • Type

    conf

  • DOI
    10.1109/ISORC.2011.23
  • Filename
    5753598