Tutorials EMF, GMF, CDO

The EMF (Eclipse Modeling Framework) project is a modeling framework and code generation facility for building tools and other applications based on a structured data model. From a model specification described in XMI, EMF provides tools and runtime support to produce a set of Java classes for the model, along with a set of adapter classes that enable viewing and command-based editing of the model, and a basic editor.
GMF (Graphical Modeling Framework) provides a generative component and runtime infrastructure for developing graphical editors based on EMF and GEF (Graphical Editing Framework).
The CDO (Connected Data Objects) Model Repository is a distributed shared model framework for EMF models and meta models. CDO is also a model runtime environment with a focus on orthogonal aspects like model scalability, transactionality, persistence, distribution, queries and more.
CDO has a 3-tier architecture supporting EMF-based client applications, featuring a central model repository server and leveraging different types of pluggable data storage back-ends like relational databases, object databases and file systems. The default client/server communication protocol is implemented with the Net4j Signalling Platform.

Eclipse EMF: how to create and persist a model

In this tutorial we will learn how to create and persist an EMF model. The tutorial is based on Eclipse Galileo, but the steps should be the same for older versions. Anyway here are the steps needed if you decide to start from scratch. Download Eclipse Galileo Download Eclipse Galileo 3.5M6 from the Eclipse.org download page, extract on your file-system and run eclipse.exe. Add EMF and Teneo support Go to Help -> Install New Software...; in the text field "Work with:" select "All Avaiable Sites". In the text just after (not labeled) enter "EMF" and wait for the results; you [...]

2012-06-08T13:30:36+00:00By |

Eclipse: installing EMF

In this section we will see how to install the Eclipse Modeling Framework SDK and related tools in Helios (Eclipse 3.6). The following steps have been performed starting from the Eclipse Classic 3.6M4 and are required if you intend to follow our EMF tutorials. Go to menu item Help -> Install New Software..., select --All Available Sites-- and check these items:then click the Next button and follow the wizard until you will be prompted to restart Eclipse.

2012-06-08T13:32:01+00:00By |

Eclipse: installing CDO & Net4j

In this section we will see how to install the CDO & Net4j SDKs in Helios (Eclipse 3.6) with EMF already installed. If you have not already installed EMF, please follow the steps illustraded in the Eclipse: installing EMF tutorial. Go to menu item Help -> Install New Software..., select --All Available Sites-- and check these items: then click the Next button and follow the wizard until you will be prompted to restart Eclipse.

2012-06-08T13:34:22+00:00By |

Model Driven Development – Eclipse and Modeling

You often hear about Modeling techniques in software development, but what exactly is Modeling? Software development based on modeling techniques, or Model Driven Development, is an alternative to the traditional programming that doesn't require writing source code to compile or run, but consists in creating the model of the software you want to build. The model is realized through visual diagramming tools and, starting from these, the traditional program language is automatically generated. Eclipse Modeling Framework is the Eclipse solution for this topic. It consists in a modeling framework and code generation facility for building tools and other applications based [...]

2013-04-10T15:56:55+00:00By |