Practical Application of a Translation Tool from UML/OCL to Java Skeleton with JML Annotation

Kentaro Hanada, Kozo Okano, Shinji Kusumoto, Kiyoyuki Miyazawa

2012

Abstract

In recent years, MDA techniques have been strongly developed. Thus, translation techniques such as UML to some program languages have gained a lot of attention. Translation techniques such as OCL to JML have been also researched. OCL is a language to describe detail properties of UML and standardized by OMG, while, JML is a language to specify properties of Java program. Both OCL and JML are based on DbC and able to provide properties of classes or methods. There are, however, not many researches on translating automatically OCL into JML and past researches often pay little attention to collection features, especially iteration. Our research group has proposed a concrete method which translates UML class diagram with OCL into Java skeleton with JML. This paper presents an implementation tool based on the technique. To evaluate the quality of the tool, we applied the tool to two real examples, a warehouse management program and a syllabus management system. As a result, we found that every OCL constraint described manually was translated successfully into JML. Also, we found some defects existed in the design of a syllabus management system.

Download


Paper Citation


in Harvard Style

Hanada K., Okano K., Kusumoto S. and Miyazawa K. (2012). Practical Application of a Translation Tool from UML/OCL to Java Skeleton with JML Annotation . In Proceedings of the 14th International Conference on Enterprise Information Systems - Volume 2: MDDIS, (ICEIS 2012) ISBN 978-989-8565-11-2, pages 389-394. DOI: 10.5220/0004151403890394

in Bibtex Style

@conference{mddis12,
author={Kentaro Hanada and Kozo Okano and Shinji Kusumoto and Kiyoyuki Miyazawa},
title={Practical Application of a Translation Tool from UML/OCL to Java Skeleton with JML Annotation},
booktitle={Proceedings of the 14th International Conference on Enterprise Information Systems - Volume 2: MDDIS, (ICEIS 2012)},
year={2012},
pages={389-394},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004151403890394},
isbn={978-989-8565-11-2},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 14th International Conference on Enterprise Information Systems - Volume 2: MDDIS, (ICEIS 2012)
TI - Practical Application of a Translation Tool from UML/OCL to Java Skeleton with JML Annotation
SN - 978-989-8565-11-2
AU - Hanada K.
AU - Okano K.
AU - Kusumoto S.
AU - Miyazawa K.
PY - 2012
SP - 389
EP - 394
DO - 10.5220/0004151403890394