Title :
Exploring Java code generation based on formal specifications in RTPA
Author :
Ngolah, Cyprian F. ; Wang, Yingxu
Author_Institution :
Dept. of Electr. & Comput. Eng., Calgary Univ., Alta., Canada
Abstract :
The use of formal specification techniques in developing large-scale software is considered as a necessary approach towards the implementation of efficient and reliable software systems. Barriers to the widespread adoption of formal methods in system development are attributed to the fact that many formal methods work only at the specification phase and it is still necessary to implement the code manually when specifications are ready. This paper explores the transformability between system specifications in real-time process algebra (RTPA) and code in Java. Automatic Java code generation on the basis of formal specifications in RTPA not only drastically reduce the effort and time spent in interpreting and translating the specifications by programmers, but also significantly improve the quality of code. Case studies on a number of real-world projects have shown the feasibility and efficiency of RTPA-based code generation methodology.
Keywords :
Java; automatic programming; formal specification; process algebra; real-time systems; Java code generation; RTPA formal specifications; RTPA-based code generation methodology; automatic Java code generation; code quality; formal methods; formal specification techniques; formal specifications; large-scale software; real-time process algebra; reliable software systems; specification phase; system development; system specifications; Algebra; Computer architecture; Drives; Formal specifications; Java; Large-scale systems; Real time systems; Reliability theory; Software engineering; Software systems;
Conference_Titel :
Electrical and Computer Engineering, 2004. Canadian Conference on
Print_ISBN :
0-7803-8253-6
DOI :
10.1109/CCECE.2004.1349698