| KC |
|
|
|
KC provide a complete solution to help you use the OMG's Model Driven Architecture (MDA) approach to system development using Executable UML specifications. The solution includes a comprehensive suite of modelling and code generation tools, with the training and consultancy services required to support you in all aspects of your model driven development. The xUML process involves the creation of platform independent, Executable UML models with the UML diagrams being supported by the action semantics-compliant Action Specification Language (ASL). The resulting models can be independently executed, debugged, viewed and tested. Both the individual executable models and multi-model assemblies can then be translated into target implementations. The execution rules of the xUML formalism mean that the same models can be translated into a wide variety of target architectures without changes to the models. A cornerstone of the translation approach is that the mappings to target implementations are themselves expressed using executable Models. These translation models are then used to code generate a code generator for the target system architecture. In the language of the OMG's MDA approach, each Executable UML model is a Platform Independent Model (PIM). The mappings between such models (specified using ASL) are PIM-to-PIM mappings. The translation approach makes use of PIM to Platform Specific Model (PSM) and Platfrom Specific Implementation (PSI) mappings. The xUML Formalism The xUML Development Process Precise, Complete Models that can be subjected to rigorous testing by simulation. Thus, xUML provides a strong analysis completion criterion, which is: "The model is complete when it successfully executes the tests designed for it". Simple Notations, using the Unified Modelling Language organised into a coherent set of layers. This means that normal human beings, such as customers, hardware engineers and managers can read, understand and provide helpful feedback on the emerging models. An Understandable and Repeatable Partitioning Strategy, A Conceptually Coherent Process, that provides a small but sufficient set of techniques to address all subject matters, including "design", in a uniform way. Usable Models, which can be utilised by system designers and coders without the need for unreliable "interpretation" of the meaning of the models. Implementation by Translation, in which the entire system can, if desired, be automatically generated from the models, using a set of rigorously specified rules that deliver a system with the required performance characteristics. Large-Scale Reuse, in which entire sets of classes are reused as a single component.
iCCG Configurable Code Generator – Use xUML to create the code generators
Off-the-shelf code generators (built with iCCG):
The xUML Standard If you would like more information about Kennedy Carter's work on Executable UML Action Semantics please contact us and take a look at iUML and iCCG, the system development environment with xUML.
Customer Use Case Example: Their goal was to achieve cross-platform compatibility and increased productivity and quality, all in the context of the demanding environment of avionics software development.
Background and Goals More recently they have used Kennedy Carter's iCCG product to specify, in Executable UML, an Ada code generator which can automatically generate 100% of the Ada implementation. By this means they guarantee that their UML models are entirely platform independent and portable across any future platform. In Lockheed Martin's case, what constitutes the platform ?
The software execution platform effectively raises the abstraction level of the hardware to provide a platform on which code generated from Executable UML models can run directly. Lockheed Martin's goal of complete cross-platform compatibility implies a very strong form of platform independence whereby the UML models which specify the Application software behaviour can be ported without change even if the Application Software Interface changes.
The Approach - Model Driven Architecture using Executable UML Executable models support the MDA approach in two main ways. First, they allow early testing using simulation and debug tools. Secondly, since they are a full and formal specification of the system behaviour, they allow generation of the target code. Defining a mapping from the rigorously defined PIM (expressed in xUML) to the implementation is what is at the heart of MDA. Since xUML models are executable and rigorous they act as much more than a simple visual agenda for the software developers, they actually embody all the business logic required to execute and verify the system.
Definition of the PIM to PSM Mapping Figure 3 shows the basis for defining the mapping from PIMs (expressed in xUML) to their platform specific implementation. "Ordinary" analyst models (level 1) are used to populate the meta-model of xUML (level 2), which has all the necessary processing defined (remember it is an executable model in its own right) to populate a model of the implementation (level 3). This final model, which again is expressed in xUML, is executed to produce the implementation. The analyst models (level 1) are augmented with tags that act like "compiler directives" to the translation system and allow such facts as limited instance populations to be exploited in order to produce efficient target code.
Tool Support The second part of the tool-chain is the translation environment (level 2 in Figure 3 above) where application models are extracted from the iUML database and used to populate the translation engine. The translation engine is a specialisation of the intelligent Configurable Code Generator (iCCG). iCCG allows developers to capture their mapping rules as xUML models and so produce any target implementation of which they can conceive. The specification of a mapping from PIM to PSM in Executable UML is itself highly reusable, allowing any set of application models to be generated onto the target.
Benefits realized Taken altogether these MDA benefits have reduced application development time by 20% on the F-16 MMC program in addition to helping them achieve complete cross-platform compatibility. Acknowledgments
Lauren E. Clark
Terry Ruthruff
Bary D. Hogan
All of the Lockheed Martin Aeronautics Company. |