Upload
lykhanh
View
217
Download
0
Embed Size (px)
Citation preview
Eike Stepper
http://www.esc-net.de
http://thegordian.blogspot.com
Berlin, Germany
CDOCDOOrthogonal Aspects of Models
EclipseCon Europe, November 2, 2011
Distribution
EMF Application
EMF Application EMF Application
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.02
Repository
Persistence
EMF Application
EMF Application EMF Application
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.03
Repository
JDBC Hibernate Objectivity MongoDB DB4O MEM
Lazy Loading
EMF Application
Resource Set
CDO Application
Resource Set
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.04
Automatic Unloading
EMF Application
Resource Set
CDO Application
Resource Set
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.05
Read-Only Views
CDO Application
Resource Set
View
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.06
Session
View
shared shared shared
Transactions and Save Points
CDO Application
Resource Set
View
Transaction
Resource Set
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.07
Session
View
Transaction
shared shared shared
Concurrency and Integrity
� Default Locking Strategy
� Optimistic write locks during commit
� Optional Explicit Locking
� Pessimistic read and write locks
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.08
� Lock escalation
� Long lasting write reservations
� Referential Integrity
� Stale reference prevention
� Containment cycle prevention
Auditing
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.09
Branching
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.010
Merging
CDOBranch branch = branchManager.getBranch("MAIN/team1");
CDOTransaction tx = session.openTransaction();
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.011
CDOTransaction tx = session.openTransaction();
tx.merge(branch.getHead(),new DefaultCDOMerger());
tx.commit();
Querying
CDOView view = session.openView();
CDOQuery query = view.createQuery("ocl",
"self.books->collect(b : Book | b.category"));
Iterator<String> iterator =
Science Fiction, Poetry, Biography
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.012
Iterator<String> iterator =
query.getResultAsync(String.class);
self.books->collect(b : Book | b.category
EMF Application
Repository
Repository
master
Failover Cluster
backup
Failover
Monitor
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.013
Repository
EMF Applicationmaster
Repositorybackup
Offline Replication
Repositorymaster
Repositoryclone
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.014
EMF Application
NASA: Distributed Plan Editing
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.015
CSA: Autonomous Mobile Robots
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.016
Photos taken from http://www.asc-csa.gc.ca/eng/sciences/avatar.asp
Comsol: Multiphysics Simulation
Authoring
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.017
Photos taken from http://www.comsol.de/press/news/article/648
Solving
UBS: Tool Landscape Vision
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.018
More Success Stories
� RUAG: Homeland Security
� Thales: Systems Engineering Modeler
� Obeo: Obeo Designer
� NoMagic: MagicDraw + Team Server
� Paranor: Xtext Builder Optimization
� Benchmark Consulting: Software Modernization
CDO - Orthogonal Aspects of Models
© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.019
� Benchmark Consulting: Software Modernization
� Open Canarias: Transforms of Cobol ASTs
� RBCCM: Software Provisioning
� WIPFLi: Product Model Workbench
� Bombardier: Railway Station Designer
� MobilePeople: Search Services