Object-Process Methodology (OPM) vs. UML - a Code Generation Perspective.
Iris Reinhartz-Berger, Dov Dori · 2004
Abstract. Modeling languages have been evolving at a high pace, encouraging the use of automatic code generators for transforming models to programs. Automatic code generators should enable mechanical and repetitive coding operations to be performed quickly, reliably and uniformly, yielding higher productivity and quality of the developed systems. One way to evaluate modeling languages is to examine their code generation capabilities. In this paper, we compare the code generated from Rhapsody by ILogix to the code generated from OPCAT, an Object-Process Methodology (OPM) CASE tool. We found that UML consistency problems and its distributed representation of system behavior are reflected in the code, yielding partial code that is mostly structureoriented. OPM models, which capture the static and dynamic aspects of a system in a single view, enable the generation of potentially complete application logic rather than just skeleton code. We also explain the unique architecture and functionality of OPM-GCG—the generic code generator of OPCAT. 1