20
Eike Stepper [email protected] http://www.esc-net.de http://thegordian.blogspot.com Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe, November 2, 2011

Eike Stepper Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Embed Size (px)

DESCRIPTION

Persistence CDO - Orthogonal Aspects of Models © 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 3 EMF Application Repository JDBCHibernateObjectivityMongoDBDB4OMEM

Citation preview

Page 1: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Eike [email protected]

http://www.esc-net.dehttp://thegordian.blogspot.com

Berlin, Germany

CDOOrthogonal Aspects of Models

EclipseCon Europe, November 2, 2011

Page 2: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Distribution

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 2

EMF Application

EMF Application EMF Application

Repository

Page 3: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Persistence

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 3

EMF Application

EMF Application EMF Application

Repository

JDBC Hibernate Objectivity MongoDB DB4O MEM

Page 4: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Lazy Loading

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 4

EMF Application

Resource Set

CDO Application

Resource Set

Page 5: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Automatic Unloading

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 5

EMF Application

Resource Set

CDO Application

Resource Set

Page 6: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Read-Only Views

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 6

CDO Application

Session

Resource Set

Viewshared shared shared

Page 7: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Transactions and Save Points

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 7

CDO Application

Session

Resource Set

View

Tran

sact

ion

Resource Set

shared shared shared

Page 8: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Concurrency and Integrity

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 8

Default Locking Strategy Optimistic write locks during commit

Optional Explicit Locking Pessimistic read and write locks Lock escalation Long lasting write reservations

Referential Integrity Stale reference prevention Containment cycle prevention

Page 9: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Auditing

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 9

Page 10: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Branching

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 10

Page 11: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Merging

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 11

CDOBranch branch = branchManager.getBranch("MAIN/team1");

CDOTransaction tx = session.openTransaction();

tx.merge(branch.getHead(), new DefaultCDOMerger());

tx.commit();

Page 12: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Science Fiction, Poetry, Biography

Querying

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 12

CDOView view = session.openView();CDOQuery query = view.createQuery("ocl",

"self.books->collect(b : Book | b.category"));Iterator<String> iterator =

query.getResultAsync(String.class);

self.books->collect(b : Book | b.categoryEMF Application

Repository

Page 13: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Repository

master

Failover Cluster

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 13

Repository

EMF Applicationmaster

Repositorybackup

backup

FailoverMonitor

Page 14: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Offline Replication

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 14

Repository

EMF Application

masterRepository

clone

Page 15: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

NASA: Distributed Plan Editing

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 15

Page 16: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

CSA: Autonomous Mobile Robots

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 16

Photos taken from http://www.asc-csa.gc.ca/eng/sciences/avatar.asp

Page 17: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

Comsol: Multiphysics Simulation

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 17

Photos taken from http://www.comsol.de/press/news/article/648

Authoring

Solving

Page 18: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

UBS: Tool Landscape Vision

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 18

Page 19: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

More Success Stories

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 19

RUAG: Homeland Security Thales: Systems Engineering Modeler Obeo: Obeo Designer NoMagic: MagicDraw + Team Server Paranor: Xtext Builder Optimization Benchmark Consulting: Software Modernization Open Canarias: Transforms of Cobol ASTs RBCCM: Software Provisioning WIPFLi: Product Model Workbench Bombardier: Railway Station Designer MobilePeople: Search Services

Page 20: Eike Stepper   Berlin, Germany CDO Orthogonal Aspects of Models EclipseCon Europe,

CDO 3D

CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 20

See you Friday11:30 - 12:00

Room: Theater

Thank You