DocumentCode
2489024
Title
Refactoring Asynchronous Event Handling in the Real-Time Specification for Java
Author
Kim, MinSeong ; Wellings, Andy
Author_Institution
Dept. of Comput. Sci., Univ. of York, York, UK
fYear
2009
fDate
1-3 July 2009
Firstpage
25
Lastpage
34
Abstract
The primary goal for asynchronous event handling (AEH) in the Real-Time Specification for Java (RTSJ) is to have a lightweight concurrency mechanism. However the RTSJ neither provides a well-defined guideline on how to implement AEH nor requires the documentation of the AEH model used in the implementation. Also the AEH API in the RTSJ are criticized as lacking in configurability as they do not provide any means for programmers to have fine control over the AEH facilities, such as the mapping between real-time threads and handlers. For these reasons, it needs the refactoring of its application programming interface (API) to give programmers more configurability. This paper, therefore, proposes a set of AEH related classes and interfaces to enable flexible configurability over AEH components. We have implemented the refactored configurable AEH API using the new specifications on an existing RTSJ implementation and this paper shows that it allows more configurability for programmers than the current AEH API in the RTSJ does. Consequently programmers are able to specifically tailor the AEH subsystem to fit their applicationspsila particular needs.
Keywords
Java; application program interfaces; formal specification; real-time systems; software maintenance; API; Java; application programming interface; asynchronous event handling; real-time specification; software refactoring; Computer science; Concurrent computing; Documentation; Event detection; Guidelines; Java; Operating systems; Programming profession; Real time systems; Yarn; Asynchronous Event Handling; Real-Time Specifiaction for Java;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time Systems, 2009. ECRTS '09. 21st Euromicro Conference on
Conference_Location
Dublin
ISSN
1068-3070
Print_ISBN
978-0-7695-3724-5
Type
conf
DOI
10.1109/ECRTS.2009.10
Filename
5161499
Link To Document