OCL

Enrich your EMF models with Scala

Session Type: 
Standard Talk [25 minutes]
Speakers

An EMF model can be enriched with structural constraints and definitions of operations bodies and derived features. While these extensions can be implemented in plain Java, the lack of lambda expressions results in a code that is usually far from clean and concise with the expressed concern being lost among Java constructs. A common approach is to use OCL (Object Constraint Language) with the appealing short “to-the-point” expressions. Based on our experience, however, we found that using OCL in larger EMF models brings a number of shortcomings that eventually led us to look for alternatives. Some of the encountered problems are related to OCL itself and its tool support, but also to the way structural invariants are organized.

In this presentation we will show an alternative approach based on an internal DSL in Scala. By using this modern multi-paradigm programing language we can realize an internal DSL with similar features found in OCL while taking full advantage of the host language including state-of-the-art tool support.

Schedule info

Status: 
Declined

Audience

Track: 
Eclipse Technology
Experience level: 
Intermediate

Wikileaking Eclipse Modeling - Spilling the beans on how industry uses EMF based tooling successfully!

Session Type: 
Standard Talk [25 minutes]
Speakers

Learn from our experiences! At Ericsson we love to model, so we love to build the best tools using the best modeling technologies. We demand the highest level of quality from the software we build. In this talk we will provide insights into how we achieve this quality with EMF based components.

Schedule info

Room: 
Theater Stage
Status: 
Accepted

Audience

Track: 
Building Industry Solutions
Experience level: 
Intermediate

Fast, Faster and Super-fast Model Queries

Session Type: 
Standard Talk [25 minutes]
Speakers

In this talk we describe three recent innovations that deliver major performance boosts to modeling tools that rely on model queries at run-time.

  • The Eclipse OCL code generator totally eliminates the need for any OCL parsing at run-time. Direct Java code is generated when a model is genmodelled. This may easily yield thousand-fold improvements for the first execution of a simple query.

Schedule info

Room: 
Theater Stage
Status: 
Accepted

Audience

Track: 
Eclipse Technology
Experience level: 
Intermediate
Slides: 

Copyright © 2012 The Eclipse Foundation. All Rights Reserved.