Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Client server EMF?
Client server EMF? [message #615582] Thu, 28 February 2008 14:38
Henrik  önsson is currently offline Henrik önssonFriend
Messages: 53
Registered: July 2009
Member
Hi,

I have an requirement from my users to allow multiple users to
read/write/update/delete objects from the same EMF models. I have written
some posts about this eariler, but I don't fully understand what I need to
do.

When I first read about Teneo a year ago or so I thought this was the
perfect choice. It uses Hibernate in the bottom for the actual database
interface. I didn't understand what problems CDO solved. The documentation
for CDO was kind of thin (which I understand).

Now when I try to understand more about this, I think CDO is better suited
for my needs. Teneo is not meant to be used in a client/server scenario
(although some users seems to do this). I have also read in the newsgroup
about a new Hibernate integration in CDO.

Here are some typical scenarios I need to support:
1) We have mostly table based editor (customised from the generated EMF
editor plugin). User A opens the table editor on the routes model. User B
also opens up the same instance of the table editor on the routes model.
User A changes the attribute routeId on a object and saves the model. Now
I would like that the instance user B has opened gets refreshed so that
user A's change is populated from user A to user B.

2) User A opens the table editor on the routes model. User B also opens up
the same instance of the table editor on the routes model. User A changes
the attribute routeId on a object. User B would like to change the same
attribute (before his model is refreshed). Now I would like that the B
has is informed that another user has updated this attribute and user B
changes will be lost. I.e. some kind of locking scenario.

My questions:
* Can someone help me explain if these scenarios can be implemented in
Teneo or CDO or something else?
* What do I need to implement for myself, and what do I get for "free"
from the frameworks?
* As I understand CDO is better on client server scenarios. What features
does Teneo lack that makes CDO better on this?
* I would like to use PostgreSQL. Hibernate has of course support on this,
but CDO don't. Is the "new" CDO/Hibernate integration in a state where I
can test it?


Thanks for your help!

Regards

Henrik
Previous Topic:installation problem on 3.3.1.1
Next Topic:Client server EMF?
Goto Forum:
  


Current Time: Sun Jun 13 21:59:19 GMT 2021

Powered by FUDForum. Page generated in 0.02291 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top