Specifying Java Card API in OCL
Paper in proceeding, 2004

We discuss the development of an OCL specification for the Java Card API. The main purpose of this specification is to support and aid the verification of Java Card programs in the KeY system. The main goal of the KeY system is to integrate object oriented design and formal methods. The already existing specification written in JML (Java Modelling Language) has been used as a starting point for the development of the OCL specification. In this paper we report on the problems that we encountered when writing the specification and their solutions, we present the most interesting parts of the specification, we report on successful verification attempts and finally we evaluate OCL and compare it to JML in the context of Java Card program specification and verification.

Formal Verification

OCL

Object-Oriented Design

JML

Java Card

Formal Specification

Author

Wojciech Mostowski

Chalmers, Department of Computing Science

Daniel Larsson

Chalmers, Department of Computing Science

OCL 2.0 Workshop at UML 2003 Conference

Vol. 102 C 3-19

Subject Categories

Computer and Information Science

More information

Created

10/7/2017