Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDO as an enterprise persistence solution???
CDO as an enterprise persistence solution??? [message #427673] Wed, 25 February 2009 16:28 Go to next message
Glenn Silverman is currently offline Glenn SilvermanFriend
Messages: 19
Registered: July 2009
Junior Member
Is CDO a real enterprise persistence solution, ala, JPA? How scalable is
it? As I understand it, the CDO server has a single, always open
connection to the data store, so there is no need for connection pooling.
But CDO sessions is another matter. Sessions can remain open for long
periods of time and it seems that some sort of session management by the
client is needed if your applications are to scale.

So, doesn't CDO merely shift the burden from connection management to
session management? And wouldn't we be better off converting our EClasses
to JPA annotated POJOs directly and simply using a tried-and-true JPA
solution?

Any thoughts on this matter would be appreciated, particularly from
someone who is using it in an enterprise. I'm simply trying to determine
if an investment in time in a CDO solution is appropriate.
Re: CDO as an enterprise persistence solution??? [message #427674 is a reply to message #427673] Wed, 25 February 2009 16:47 Go to previous messageGo to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
hi Glenn,

Comments below

Glenn Silverman wrote:

> Is CDO a real enterprise persistence solution, ala, JPA? How scalable is
> it?
I will say people have different opinion on that question. So it will be
my personal opinion I will gave you.
First we used CDO for 1 year and an half in my enterprise and I used it to
build applications to my clients. We can handle billions of objects and we
have 25-30 users at the same time using it. We are very happy with it.

The word enterprise for me means... Running multiple CDO-Server, Out of
the box Failing strategy that will connect to others CDO-Server, tools to
debug, and more...
and CDO doesn't have all that at the moment. But we are going there!


>As I understand it, the CDO server has a single, always open
> connection to the data store, so there is no need for connection pooling.
It depends of the implementation. I prefer to say .. it will try to
minimize the connection to the db server.
> But CDO sessions is another matter. Sessions can remain open for long
> periods of time and it seems that some sort of session management by the
> client is needed if your applications are to scale.
One client can (should also) use only one session. From that session you
can open multiple CDOView/CDOTransaction.

> So, doesn't CDO merely shift the burden from connection management to
> session management? And wouldn't we be better off converting our EClasses
> to JPA annotated POJOs directly and simply using a tried-and-true JPA
> solution?
I will says depends of your requirements, if you don't need what EMF or
CDO brings you... I will say you don't need it.

> Any thoughts on this matter would be appreciated, particularly from
> someone who is using it in an enterprise. I'm simply trying to determine
> if an investment in time in a CDO solution is appropriate.

Personnally I used EMF to have a clear model that I can share, generations
of codes and I can be flexible enough to be able to have many differents
databases where objects are referring to each others transparently...
I liked CDO for many features that it is currently supported
(Notifications , locking, ...!!)... and the one that will come. (Support
Offline is a big one).
(new feature in 2.0 http://wiki.eclipse.org/New_And_Noteworthy_for_CDO_2.0)

But If your application doesn't need anything that EMF can bring you...at
the moment or in the future.... don't use it!

Simon
Re: CDO as an enterprise persistence solution??? [message #427675 is a reply to message #427673] Wed, 25 February 2009 17:18 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

My 2 cents on this are:

a) Direct JPA usage in clients means 2-tier and so all your users have
physical access to your Database :-(

b) JPA in a 3-tier setup is not as easy as people tend do think because
lazy-loading is a concept not working smoothly when serializing


In a reply on another Use-Group I asked the following questions which
might help you decide if you really need EMF + CDO or maybe EMF + Teneo:

a) Concurrency: How to keep Objects up-to-date on multiple clients

b) Undo/Redo: How do you give users structural undo/redo support

c) Memory-Management: How do you ensure that your model fits into your
memory?

d) Do you need lazy-loading in a 3-tier application?

e) Do you want to access the database with CDO e.g. to create reports
using e.g. Birt, ...

a+b+c+d+e: EMF + CDO + Teneo / EMF + CDO
a+b+c+d: EMF + CDO
b: EMF
-: Use JPA directly :-)

I don't fully get what you mean with Session-Management because you
don't need to manage a session you simply open it and your object graph
is synced automagically by CDO.

Tom

Glenn Silverman schrieb:
> Is CDO a real enterprise persistence solution, ala, JPA? How scalable is
> it? As I understand it, the CDO server has a single, always open
> connection to the data store, so there is no need for connection
> pooling. But CDO sessions is another matter. Sessions can remain open
> for long periods of time and it seems that some sort of session
> management by the client is needed if your applications are to scale.
>
> So, doesn't CDO merely shift the burden from connection management to
> session management? And wouldn't we be better off converting our
> EClasses to JPA annotated POJOs directly and simply using a
> tried-and-true JPA solution?
>
> Any thoughts on this matter would be appreciated, particularly from
> someone who is using it in an enterprise. I'm simply trying to determine
> if an investment in time in a CDO solution is appropriate.
>
>
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
EMF + CDO versus EclipseUML + JPA [message #427769 is a reply to message #427675] Mon, 02 March 2009 10:44 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
An important point to consider is what is the team previous experiences.
I mean that if your team knows EMF then it is a good idea to start with
EMF + CDO or Teneo. Don't forget that your need at least 6 month to start
with EMF if no expert in your team, and this should be considered as a
long term investment.
btw, this technological investment is a very profitable investment in your
team and company technological assets.

If your team doesn't know EMF then it is a lot simpler to immediately
start with a traditional JPA tool. I would then recommend EclipseUML (for
modeling) + JPA (hibernate, Dali project etc...). The JPA annotations are
live synchronized between the code and the model. Model and JPA are used
at the same time but each one is independent even if synchronized.

Vlad
Omondo
Re: EMF + CDO versus EclipseUML + JPA [message #427819 is a reply to message #427769] Mon, 02 March 2009 12:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Vlad,

Comments below.

Vlad Varnica wrote:
> An important point to consider is what is the team previous
> experiences. I mean that if your team knows EMF then it is a good idea
> to start with EMF + CDO or Teneo. Don't forget that your need at least
> 6 month
You have empirical studies to back up this number? :-P
> to start with EMF if no expert in your team, and this should be
> considered as a long term investment.
And a good one too. Don't forget there are plenty of people available,
including me, to help teams get up to speed quickly with training,
coaching, and consulting.
> btw, this technological investment is a very profitable investment in
> your team and company technological assets.
That's often what people forget. The path of least resistance is all
too often one that involves shortcuts that need to be reconsidered
longer term.
>
> If your team doesn't know EMF then it is a lot simpler to immediately
> start with a traditional JPA tool.
I hold simplicity to be like beauty: in the eye of the beholder. Simple
is good when you start, but powerful is what keeps you going.

Consider when you need to build a UI around your data model. Suddenly
you'll be faced with a difficult problem, implementing a model view
contoller, that more difficult because of the choice to start simple.
I.e., you'll find notifications turn out to be quite important.
> I would then recommend EclipseUML (for modeling) + JPA (hibernate,
> Dali project etc...). The JPA annotations are live synchronized
> between the code and the model. Model and JPA are used at the same
> time but each one is independent even if synchronized.
If I understand correctly, JPA annotations can be maintained separate
from the code with little need for synchronization. I think the Teneo
EclipseLink integration will prove interesting. I'm looking forward to
the EclipseCon talk about it.
> Vlad
> Omondo
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF + CDO versus EclipseUML + JPA [message #427824 is a reply to message #427819] Mon, 02 March 2009 14:12 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Concerning the EMF training we have a pretty long experience in that field
which started in 2002.
Typical training started with the selection of a newly graduate engineer
who was given to read and redo examples:
- understand how to develop plugins (30 days)
- what is GEF + exmaple(30 days)
- What is EMF + exmaple (45 days)
Please note that it is better to select a newly graduate engineer than an
experience one because EMF is different and if the member start thinking
to redo what was done before then this will be a failure. Almost all
experienced developers have failed the EMF certification exam.
At the end of 3-4 months we usually keep about 50% of the starting team
because the other candidates have left. The next three month are dedicated
to a small project in which the apprentice should create its owns solution
and expand EclipseUML.
At the end of 6 months, the apprentice get the right to commit on the
EclipseUML project. Another 6 months are usually needed to understand how
to use all the power of EMF and integrate it inside EclipseUML.
After 12 months we have a certified engineer who usually need one more
year to have the return of experience and deliver quality code using EMF.

On more than 40 members apprentices only 5-6 at the end of two years were
still using EMF. The other team members have either left or moved to
easier project.
This is our Omondo return of experience.
Thanks,

Vlad
Omondo
Re: EMF + CDO versus EclipseUML + JPA [message #427826 is a reply to message #427824] Mon, 02 March 2009 14:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Vlad,

Comments below.

Vlad Varnica wrote:
> Concerning the EMF training we have a pretty long experience in that
> field which started in 2002.
See, I rest my case. :-P
> Typical training started with the selection of a newly graduate
> engineer who was given to read and redo examples:
> - understand how to develop plugins (30 days)
Basic Eclipse stuff is already quite the chore. I suppose one could
include Java training too.
> - what is GEF + exmaple(30 days)
That's nice if folks want to do graphical stuff....
> - What is EMF + exmaple (45 days)
There are an awful lot of 1-3 day trainings available...
> Please note that it is better to select a newly graduate engineer than
> an experience one because EMF is different and if the member start
> thinking to redo what was done before then this will be a failure.
Yes, many people have preconceived notions that can tend to get in the
way...
> Almost all experienced developers have failed the EMF certification exam.
Maybe you made it too hard? :-P
> At the end of 3-4 months we usually keep about 50% of the starting
> team because the other candidates have left. The next three month are
> dedicated to a small project in which the apprentice should create its
> owns solution and expand EclipseUML.
Ah, so this is your internal training process... Where does the two
years to learn UML fit in?!
> At the end of 6 months, the apprentice get the right to commit on the
> EclipseUML project. Another 6 months are usually needed to understand
> how to use all the power of EMF and integrate it inside EclipseUML.
I suppose everything you describe is likely to be true of developing any
significantly complex Eclipse application. It's probably true of JEE
applications as well...
> After 12 months we have a certified engineer who usually need one more
> year to have the return of experience and deliver quality code using EMF.
Do you think this is the case because EMF sets a higher quality bar?
>
> On more than 40 members apprentices only 5-6 at the end of two years
> were still using EMF. The other team members have either left or moved
> to easier project.
It sounds like they end up leaving your company. Perhaps their valuable
skills are applied elsewhere...
> This is our Omondo return of experience.
I think the complexity of UML and the complexity of a tool for it is
lost in this picture. There are few models in this world more complex
than UML...
> Thanks,
>
> Vlad
> Omondo
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF + CDO versus EclipseUML + JPA [message #427834 is a reply to message #427826] Mon, 02 March 2009 17:08 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Ed,

I agree that many Omondo developers received nice offers because we
provide them very good EMF training :-)

It seems that my previous post concerning the use of JPA and modeling was
not understood. What I wanted to say is that for Omondo a JPA project
doesn't really need code generation from model. JPA can still be modeled
using live code and model synchronization in an agile approach driven by
the iteration and incremental merge. In this case, EclipseUML is only used
to visualize the architecture and update the model if needed. Our class
diagram is a kind of JPA DSL.
It means that the UML Editor shows JPA views inside the class diagram at
graphical level using the UML Editor.
I don't think that we need to do more with our EMF core which is only used
for UML modeling purposes.
Why should EMF + CDO drives JPA development if we want to model. It seems
to be too intrusive for me in that context. I don't know if it is better
or not, but ....


Vlad
Omondo
Re: EMF + CDO versus EclipseUML + JPA [message #427835 is a reply to message #427834] Mon, 02 March 2009 17:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Vlad,

It seems to me that Teneo has long demonstrated that basic EMF modeling
and JPA go extremely well together. But hey, I'm clearly biased...


Vlad Varnica wrote:
> Ed,
>
> I agree that many Omondo developers received nice offers because we
> provide them very good EMF training :-)
>
> It seems that my previous post concerning the use of JPA and modeling
> was not understood. What I wanted to say is that for Omondo a JPA
> project doesn't really need code generation from model. JPA can still
> be modeled using live code and model synchronization in an agile
> approach driven by the iteration and incremental merge. In this case,
> EclipseUML is only used to visualize the architecture and update the
> model if needed. Our class diagram is a kind of JPA DSL. It means that
> the UML Editor shows JPA views inside the class diagram at graphical
> level using the UML Editor.
> I don't think that we need to do more with our EMF core which is only
> used for UML modeling purposes.
> Why should EMF + CDO drives JPA development if we want to model. It
> seems to be too intrusive for me in that context. I don't know if it
> is better or not, but ....
>
>
> Vlad
> Omondo
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF + CDO versus EclipseUML + JPA [message #427836 is a reply to message #427834] Mon, 02 March 2009 17:29 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi Vlad,

But how do you address the problems I highlighted in my answer (a - e)?
As I see it none of them is resolved when I use EclipseUML + JPA.

Tom

Vlad Varnica schrieb:
> Ed,
>
> I agree that many Omondo developers received nice offers because we
> provide them very good EMF training :-)
>
> It seems that my previous post concerning the use of JPA and modeling
> was not understood. What I wanted to say is that for Omondo a JPA
> project doesn't really need code generation from model. JPA can still be
> modeled using live code and model synchronization in an agile approach
> driven by the iteration and incremental merge. In this case, EclipseUML
> is only used to visualize the architecture and update the model if
> needed. Our class diagram is a kind of JPA DSL. It means that the UML
> Editor shows JPA views inside the class diagram at graphical level using
> the UML Editor.
> I don't think that we need to do more with our EMF core which is only
> used for UML modeling purposes.
> Why should EMF + CDO drives JPA development if we want to model. It
> seems to be too intrusive for me in that context. I don't know if it is
> better or not, but ....
>
>
> Vlad
> Omondo
>
Re: EMF + CDO versus EclipseUML + JPA [message #427872 is a reply to message #427836] Tue, 03 March 2009 09:33 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Thomas,

Our vision is "Let's JPA tools do their job while UML Editor will help to
visualize it graphically, update the diagram & model and also create JPA
annotations".
Your answer a to e is related to the use of JPA tools and not to
EclipseUML. You can for example use Hibernate with EclipseUML. This will
immediately work using live code and model synchronization.
One cool feature is to directly create associations at model level and get
all your getter immediately generated for you. See more at:
http://www.forum-omondo.com/documentation_eclipseuml_2008/Ec lipse_Database/Create_associations/index.html

Few links to explore the live annotation synchronization option at
modeling stage is available at:

- Reverse an exisiting Database into the class diagram :
http://www.forum-omondo.com/documentation_eclipseuml_2008/Ec lipse_Database/Reverse_Existing_Database/index.html

- Using JPA with EclipseUML Flash demo :
http://www.download-omondo.com/JPA_Development.swf

- From UML to Database (7min): Flash demo :
http://www.download-omondo.com/uml_to_database.swf

- From Oracle to UML 2 : Flash demo :
http://www.download-omondo.com/from_oracle_to_eclipseuml_mod el.swf

The live code and model synchronization is the easiest way to leverage on
JPA power while modeling in an agile iterative cycle. EMF & CDO is
certainly very powerful but we think that iteration during all development
cycle is only possible at model/metamodel (e.g EMOF & EclipseUML2
metamodels) level because their is no merge option.
The merge option allows to model, to use JPA in an iterative way:
http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#1.3_Merge_existing_model_with_modif ied

Omondo provides a full JPA DSL solution using standard UML graphical
representation. This is a top down approach It means from model&code to
database in which database creation & management is entirely done by JPA
and not by the model. The UML model is there for architecture point of
view (e.g. represent the structure of your project) and for annotation
live synchronization between the model and the code.

The annotation live code & model synchronization is an Omondo worldwide
premier.
Use it and you will like it :-)
Re: EMF + CDO versus EclipseUML + JPA [message #427874 is a reply to message #427872] Tue, 03 March 2009 12:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Vlad,

Comments below.

Vlad Varnica wrote:
> Thomas,
>
> Our vision is "Let's JPA tools do their job while UML Editor will
> help to visualize it graphically, update the diagram & model and also
> create JPA annotations".
> Your answer a to e is related to the use of JPA tools and not to
> EclipseUML
The JPA stuff is only a means to an end...
> . You can for example use Hibernate with EclipseUML.
And with EMF...
> This will immediately work using live code and model synchronization.
Ditto.
> One cool feature is to directly create associations at model level and
> get all your getter immediately generated for you.
Sounds all too familiar.
> See more at:
> http://www.forum-omondo.com/documentation_eclipseuml_2008/Ec lipse_Database/Create_associations/index.html
>
>
> Few links to explore the live annotation synchronization option at
> modeling stage is available at:
>
> - Reverse an exisiting Database into the class diagram :
> http://www.forum-omondo.com/documentation_eclipseuml_2008/Ec lipse_Database/Reverse_Existing_Database/index.html
>
There is a large class of people who take the attitude, "I don't need to
see pictures of my code".
>
> - Using JPA with EclipseUML Flash demo :
> http://www.download-omondo.com/JPA_Development.swf
>
> - From UML to Database (7min): Flash demo :
> http://www.download-omondo.com/uml_to_database.swf
>
> - From Oracle to UML 2 : Flash demo :
> http://www.download-omondo.com/from_oracle_to_eclipseuml_mod el.swf
>
> The live code and model synchronization is the easiest way to leverage
> on JPA power while modeling in an agile iterative cycle. EMF & CDO is
> certainly very powerful but we think that iteration during all
> development cycle is only possible at model/metamodel (e.g EMOF &
> EclipseUML2 metamodels) level because their is no merge option.
Did you know that Teneo supports EAnnotations right on the Ecore model
itself?
> The merge option allows to model, to use JPA in an iterative way:
> http://www.forum-omondo.com/documentation_eclipseuml_2008/re verse/reverse/index.html#1.3_Merge_existing_model_with_modif ied
>
You seem to be assuming a lot less iteration in EMF that is actually there.
>
> Omondo provides a full JPA DSL solution using standard UML graphical
> representation. This is a top down approach It means from model&code
> to database in which database creation & management is entirely done
> by JPA and not by the model. The UML model is there for architecture
> point of view (e.g. represent the structure of your project) and for
> annotation live synchronization between the model and the code.
And yet still you don't seem to have answered Tom's question.
>
> The annotation live code & model synchronization is an Omondo
> worldwide premier.
> Use it and you will like it :-)
It's like you're a running advertisement. :-P
>
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF + CDO versus EclipseUML + JPA [message #427880 is a reply to message #427874] Tue, 03 March 2009 15:54 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Hi Ed,

I agree my message is a kind of advertisement but I am paid for that :-)
Sorry if it is too much.

Concerning your answer:
1. Did you know that Teneo supports EAnnotations right on the Ecore model
itself?
No, I didn't but is-it really important ?
We are talking about JPA support and not eannotation in the model itself.
We can add any kind of eannotations for example we use this eannotation to
save the traceability in order to know in which diagram is saved a model
element.
For Omondo what is important is the JPA annotation in the code and not the
eannotation in the model itself.
btw, the question is what are the best pratices:
Is-it to save JPA annotation as stereotype in the UML model or to save it
as Eannotation in the EMF model ?
Stereotypes inside UML are official OMG specifications therefore we think
it is better to use stereotypes for JPA than Eannotation.

2. You seem to be assuming a lot less iteration in EMF that is actually
there.
EMF out of box (e.g. without the Omondo merge) is only using a top down
approach. I mean from model to annotated code. This means that if the
project change and that developers change manually the application at code
level and not model level then it is not possible to get a model anymore.

I fully agree that both EMF + CDO or Eclipse+ JPA tools for JPA modeling
are possible. For EMF all modification should be done at model level and
for Omondo we think that modification can be made at model and also code
level.
This is why we consider that in order to use an agile iterative approach
it is better to directly work at JPA annotation level which are saved in
the code and let JPA tools such as Hibernate do their job.

3. And yet still you don't seem to have answered Tom's question.
The answer is that UML live code and model synchronization is not related
to Tom's question. He should ask the question on the JPA forum and not to
me.
Re: EMF + CDO versus EclipseUML + JPA [message #427881 is a reply to message #427880] Tue, 03 March 2009 17:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Vlad,

Comments below.

Vlad Varnica wrote:
> Hi Ed,
>
> I agree my message is a kind of advertisement but I am paid for that :-)
People pay me for consulting services yet when was the last time I
advertised on that on this newsgroup? When was the first time for that
matter?
> Sorry if it is too much.
You're laying it on a little thick in my opinion.
>
> Concerning your answer:
> 1. Did you know that Teneo supports EAnnotations right on the Ecore
> model itself? No, I didn't but is-it really important ? We are talking
> about JPA support and not eannotation in the model itself. We can add
> any kind of eannotations for example we use this eannotation to save
> the traceability in order to know in which diagram is saved a model
> element.
You kept circling around the point of model synchronization but given
that the necessary annotations are right on/in the model, there is
nothing to synchronize.
> For Omondo what is important is the JPA annotation in the code and not
> the eannotation in the model itself.
So what's the important point about synchronizing everything?
> btw, the question is what are the best pratices:
The question or a question?
> Is-it to save JPA annotation as stereotype in the UML model or to save
> it as Eannotation in the EMF model ?
Sounds functionally equivalent to me.
> Stereotypes inside UML are official OMG specifications therefore we
> think it is better to use stereotypes for JPA than Eannotation.
And therefore UML is better than EMOF, and therefore everyone should buy
EclipseUML and not simply Ecore. Nice assertions, but ones which which I
don't agree.
>
> 2. You seem to be assuming a lot less iteration in EMF that is
> actually there.
> EMF out of box (e.g. without the Omondo merge) is only using a top
> down approach. I mean from model to annotated code.
It's simply not true. You seem to have overlooked annotated Java as one
of the model input forms.
> This means that if the project change and that developers change
> manually the application at code level and not model level then it is
> not possible to get a model anymore.
They can change either level directly in the code, so again, simply not
true.
> I fully agree that both EMF + CDO or Eclipse+ JPA tools for JPA
> modeling are possible. For EMF all modification should be done at
> model level and for Omondo we think that modification can be made at
> model and also code level.
To me life's just not as black and white as you paint it.
> This is why we consider that in order to use an agile iterative
> approach it is better to directly work at JPA annotation level which
> are saved in the code and let JPA tools such as Hibernate do their job.
And of course all the while you simply don't answer Tom's questions.
>
> 3. And yet still you don't seem to have answered Tom's question. The
> answer is that UML live code and model synchronization is not related
> to Tom's question. He should ask the question on the JPA forum and not
> to me.
You seem to assume that nothing else EMF's generated code provides will
have interesting and useful value. Doesn't it seem likely someone will
want to build a UI around their data? Perhaps define a textual syntax
or a graphical syntax? Perhaps exchange their data using an XML
serialization. Build RESTful services around it... Anyway, I don't see
that this discussion will get us anywhere given that anything short of
doing things exactly the Omondo way will not be a best practice.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF + CDO versus EclipseUML + JPA [message #427882 is a reply to message #427881] Tue, 03 March 2009 21:22 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
Ed,

I am not an EMF expert and I always recommend to use UML because this is a
simple and common language for almost all the modeling community.
I can not also decide which is the better technology between using EMF+CDO
or EclipseUML + JPA.
We have selected to work within JPA tools providing UML editor because the
market is bigger than just targeting EMF niche market. I am also convinced
that whatever is the quality of all related EMF projects working directly
(e.g. no code generation from model) with a JPA tools such as Hibernate is
the best solution.
Good luck for your project.
It seems to be very promising.

Vlad
Omondo
Re: EMF + CDO versus EclipseUML + JPA [message #427883 is a reply to message #427882] Wed, 04 March 2009 01:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Vlad,

Comments below.

Vlad Varnica wrote:
> Ed,
>
> I am not an EMF expert and I always recommend to use UML because this
> is a simple
UML and "simple" are usually not used in the same sentence.
> and common language for almost all the modeling community.
One might argue that (E)MOF is also common (t's used to define UML) and
it's certainly easier to argue it's simple.
>
> I can not also decide which is the better technology between using
> EMF+CDO or EclipseUML + JPA.
We're all entitled to our opinions. I'd characterize it as
EMF+Teneo+EclipseLink, but certainly CDO fits well into that picture too.
> We have selected to work within JPA tools providing UML editor because
> the market is bigger than just targeting EMF niche market.
Niche hey? Time will tell....
> I am also convinced that whatever is the quality of all related EMF
> projects working directly (e.g. no code generation from model) with a
> JPA tools such as Hibernate is the best solution.
Yet Teneo also works directly with Hibernate. It;s like the best of of
two bests...
> Good luck for your project. It seems to be very promising.
I'm not a big believer in luck. Good planning generally rules the day...
>
> Vlad
> Omondo
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EMF multi page editor input and resource synchronize question?
Next Topic:Problems creating a dynamic instance
Goto Forum:
  


Current Time: Sat Apr 20 00:45:24 GMT 2024

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

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

Back to the top