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: come creare e persistere un model
In questo tutorial impareremo a creare e persistere un model EMF. Il tutorial si basa su Eclipse Galileo, ma i passi seguiti dovrebbero rimanere inalterati per versioni precedenti. Ad ogni modo ecco i passi necessari se decidete di iniziare da zero. Scaricare Eclipse Galileo Scaricate Eclipse Galileo 3.5 dalla pagina di download di Eclipse.org, estraete il contenuto sul vostro file system ed eseguite eclipse.exe. Aggiungere il supporto EMF e Teneo Cliccate Help -> Install New Software...; nel campo "Work with:" selezionate "All Avaiable Sites". In quello successivo (senza etichetta) digitate "EMF" e attendete i risultati; dovreste vedere le seguenti voci:Selezionate [...]