Upload
barnard-west
View
216
Download
0
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
Eike [email protected]
http://www.esc-net.dehttp://thegordian.blogspot.com
Berlin, Germany
CDOOrthogonal Aspects of Models
EclipseCon Europe, November 2, 2011
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
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
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
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
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
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
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
Auditing
CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 9
Branching
CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 10
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();
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
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
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
NASA: Distributed Plan Editing
CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 15
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
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
UBS: Tool Landscape Vision
CDO - Orthogonal Aspects of Models© 2011 by Eike Stepper, Berlin, Germany. Made available under the EPL v1.0 18
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
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