Monday, November 19, 2012

Use Online Data Offline

You may know that a CDO model repository can be used like an online database with change notifications to make your modeled applications truly collaborative with no more than a handful lines of code.

You may not know, yet, that CDO supports a number of additional repository configurations which help to build up more complex topologies of replicating repositories.

To make it easy to explore the possibilities I've created a new example application that you can install through Eclipse's example wizard.

To make it even easier I've recorded a screencast for you that guides you through the first example and shows you how to embed local offline clone repositories into client applications.

With this setup applications use online data while they're online and continue to work with offline data while they're offline:

Switch to HD on YouTube

I hope you're inspired by the demo and develop new ideas for your own applications...


  1. Great stuff Eike!!
    This Offline feature is really powerful!
    How about solving merging conflicts: is there some work in progress about that?

    Thank you


    1. The merger used in the example is able to reduce the conflicts to those cases where the exacty same single-valued feature has been changed on both ends. To handle these remaining cases the merger would have to be extended by you. To make this easier I would like to work on an EMF Compare based graphical merger some day.

  2. Thanks a lot for this example & screen casts. It helps a lot!


  3. I'm sorry, I'm a noob with CDO and I'm not able to install this example I have tried using org.eclipse.emf.cdo.examples.installer but I obtain this problem:

    Cannot find /home/angel/workspaces/test/org.eclipse.emf.cdo.examples.installer/updateLib.ant imported from /home/angel/workspaces/test/org.eclipse.emf.cdo.examples.installer/update.ant

    I'm a bit lost :(