|Client server EMF? [message #615582]
||Thu, 28 February 2008 14:38
| Henrik önsson
Registered: July 2009
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
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.
* 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!
Powered by FUDForum
. Page generated in 0.02291 seconds