Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » UMLProfile vs Ecore
UMLProfile vs Ecore [message #100949] Wed, 07 November 2007 03:58 Go to next message
Swetha is currently offline SwethaFriend
Messages: 36
Registered: July 2009
Member
Hi,

I am trying to compare the advantages and disadvantages of modeling in
UMLProfile vs modeling in Ecore.I would like to know from the users of
either of these which one they prefer since i have no working knowledge on
either of them.

My modeling will be bascially domain specific,hence i thought UMLProfile
is the best way to do.But the features provided by Ecore and the
development happening at Ecore community cannot be ignored.Can anybody
give me your opinion regarding the pros n cons of the two modeling
language which will help me decide which modeling language to select.


Regards,
Swetha.
Re: UMLProfile vs Ecore [message #101073 is a reply to message #100949] Wed, 07 November 2007 14:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Swetha,

I've added the UML2 newsgroups to the "to" list of the reply.

I'm not sure if you are planning to develop a model for a DSL and then
generate an API for it or if you are considering using UML with profiles
as your DSL? The answers for these two are quite different

If it's the former, well, you can use UML and now the UMLTools project
to draw class diagrams, and you can use the Ecore profile to effectively
specify your whole Ecore model using UML. You can then import this into
a GenModel to convert the UML model to an Ecore model and generate your
API and other cool stuff for that model; you can also use GMF to
generate even more cool stuff for your model. You could also do this
directly using Ecore, and with the advent of
http://wiki.eclipse.org/Ecore_Tools_Proposal, you'll be able to draw
your class diagram directly using Ecore. It's also possible to export
your Ecore to UML later. So I see those two approaches as entirely
equivalent and interchangeable. My preference would be for Ecore,
because it's an order of magnitude simpler.

If it's the latter, then UML is very complex and profiles add another
layer of complexity to that. The advantage is that if folks are
familiar with UML, they can reuse those concepts to use UML with
profiles as a DSL. The disadvantage is that UML is complex and might
contain far more concepts than you need. Building your own DSL API will
likely be more work, but will result in something more specifically
tailored to your needs.

Hopefully I've characterized this fairly. I'm sure I'll be corrected if
I didn't.


Swetha wrote:
> Hi,
>
> I am trying to compare the advantages and disadvantages of modeling in
> UMLProfile vs modeling in Ecore.I would like to know from the users of
> either of these which one they prefer since i have no working
> knowledge on either of them.
>
> My modeling will be bascially domain specific,hence i thought
> UMLProfile is the best way to do.But the features provided by Ecore
> and the development happening at Ecore community cannot be ignored.Can
> anybody give me your opinion regarding the pros n cons of the two
> modeling language which will help me decide which modeling language to
> select.
>
>
> Regards,
> Swetha.
>
Re: UMLProfile vs Ecore [message #101141 is a reply to message #101073] Wed, 07 November 2007 15:38 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Some pros/cons can be found here ...
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html

Cheers,
- James.


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fgsh6o$e7e$1@build.eclipse.org...
> Swetha,
>
> I've added the UML2 newsgroups to the "to" list of the reply.
>
> I'm not sure if you are planning to develop a model for a DSL and then
> generate an API for it or if you are considering using UML with profiles
> as your DSL? The answers for these two are quite different
>
> If it's the former, well, you can use UML and now the UMLTools project to
> draw class diagrams, and you can use the Ecore profile to effectively
> specify your whole Ecore model using UML. You can then import this into a
> GenModel to convert the UML model to an Ecore model and generate your API
> and other cool stuff for that model; you can also use GMF to generate even
> more cool stuff for your model. You could also do this directly using
> Ecore, and with the advent of
> http://wiki.eclipse.org/Ecore_Tools_Proposal, you'll be able to draw your
> class diagram directly using Ecore. It's also possible to export your
> Ecore to UML later. So I see those two approaches as entirely equivalent
> and interchangeable. My preference would be for Ecore, because it's an
> order of magnitude simpler.
> If it's the latter, then UML is very complex and profiles add another
> layer of complexity to that. The advantage is that if folks are familiar
> with UML, they can reuse those concepts to use UML with profiles as a DSL.
> The disadvantage is that UML is complex and might contain far more
> concepts than you need. Building your own DSL API will likely be more
> work, but will result in something more specifically tailored to your
> needs.
>
> Hopefully I've characterized this fairly. I'm sure I'll be corrected if I
> didn't.
>
>
> Swetha wrote:
>> Hi,
>>
>> I am trying to compare the advantages and disadvantages of modeling in
>> UMLProfile vs modeling in Ecore.I would like to know from the users of
>> either of these which one they prefer since i have no working knowledge
>> on either of them.
>>
>> My modeling will be bascially domain specific,hence i thought UMLProfile
>> is the best way to do.But the features provided by Ecore and the
>> development happening at Ecore community cannot be ignored.Can anybody
>> give me your opinion regarding the pros n cons of the two modeling
>> language which will help me decide which modeling language to select.
>>
>>
>> Regards,
>> Swetha.
>>
Re: UMLProfile vs Ecore [message #104052 is a reply to message #101141] Wed, 28 November 2007 09:25 Go to previous messageGo to next message
Swetha is currently offline SwethaFriend
Messages: 36
Registered: July 2009
Member
Hi,

Does Ecore tool provide support for Class diagram only or can we find
support for Usecase,Component,Deployment,Activity kind of diagrams also.

Regards,
Swetha.
Re: UMLProfile vs Ecore [message #104065 is a reply to message #104052] Wed, 28 November 2007 11:07 Go to previous message
David Sciamma is currently offline David SciammaFriend
Messages: 78
Registered: July 2009
Member
Hi,

Ecore Tools only provides "Class diagram like" support because the Ecore
langage does not contain Usecase, Component... and all the UML concepts.
But it's the same with UML Profile : you can just define stereotypes and
tagged values.

You must compare equivalent concepts :
- an Ecore metamodel is comparable with a UML Profile
- an instance of your metamodel is comparable with a UML model where
objects are stereotyped with your UML profile.

and equivalent tools :
- Ecore Tools can be used to design an Ecore metamodel / compare to
/ Profile diagram from a UML tool to designe your profile
- Graphical editor for your metamodel (based on GMF) to create
domain specific models / compare to / UML Designer with applied profile
to create UML models stereotyped with your UML profile

I don't know if it's clear but I hope it will help you.

David

Swetha a écrit :
> Hi,
>
> Does Ecore tool provide support for Class diagram only or can we find
> support for Usecase,Component,Deployment,Activity kind of diagrams also.
>
> Regards,
> Swetha.
>


--
David SCIAMMA

Expert Eclipse / Eclipse Expert
ANYWARE TECHNOLOGIES
Tel : + 33 (0)5.61.00.73.44
Fax : + 33 (0)5.61.00.51.46
http://www.anyware-tech.com
Re: UMLProfile vs Ecore [message #610275 is a reply to message #100949] Wed, 07 November 2007 14:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31469
Registered: July 2009
Senior Member
Swetha,

I've added the UML2 newsgroups to the "to" list of the reply.

I'm not sure if you are planning to develop a model for a DSL and then
generate an API for it or if you are considering using UML with profiles
as your DSL? The answers for these two are quite different

If it's the former, well, you can use UML and now the UMLTools project
to draw class diagrams, and you can use the Ecore profile to effectively
specify your whole Ecore model using UML. You can then import this into
a GenModel to convert the UML model to an Ecore model and generate your
API and other cool stuff for that model; you can also use GMF to
generate even more cool stuff for your model. You could also do this
directly using Ecore, and with the advent of
http://wiki.eclipse.org/Ecore_Tools_Proposal, you'll be able to draw
your class diagram directly using Ecore. It's also possible to export
your Ecore to UML later. So I see those two approaches as entirely
equivalent and interchangeable. My preference would be for Ecore,
because it's an order of magnitude simpler.

If it's the latter, then UML is very complex and profiles add another
layer of complexity to that. The advantage is that if folks are
familiar with UML, they can reuse those concepts to use UML with
profiles as a DSL. The disadvantage is that UML is complex and might
contain far more concepts than you need. Building your own DSL API will
likely be more work, but will result in something more specifically
tailored to your needs.

Hopefully I've characterized this fairly. I'm sure I'll be corrected if
I didn't.


Swetha wrote:
> Hi,
>
> I am trying to compare the advantages and disadvantages of modeling in
> UMLProfile vs modeling in Ecore.I would like to know from the users of
> either of these which one they prefer since i have no working
> knowledge on either of them.
>
> My modeling will be bascially domain specific,hence i thought
> UMLProfile is the best way to do.But the features provided by Ecore
> and the development happening at Ecore community cannot be ignored.Can
> anybody give me your opinion regarding the pros n cons of the two
> modeling language which will help me decide which modeling language to
> select.
>
>
> Regards,
> Swetha.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: UMLProfile vs Ecore [message #610286 is a reply to message #101073] Wed, 07 November 2007 15:38 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Some pros/cons can be found here ...
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html

Cheers,
- James.


"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fgsh6o$e7e$1@build.eclipse.org...
> Swetha,
>
> I've added the UML2 newsgroups to the "to" list of the reply.
>
> I'm not sure if you are planning to develop a model for a DSL and then
> generate an API for it or if you are considering using UML with profiles
> as your DSL? The answers for these two are quite different
>
> If it's the former, well, you can use UML and now the UMLTools project to
> draw class diagrams, and you can use the Ecore profile to effectively
> specify your whole Ecore model using UML. You can then import this into a
> GenModel to convert the UML model to an Ecore model and generate your API
> and other cool stuff for that model; you can also use GMF to generate even
> more cool stuff for your model. You could also do this directly using
> Ecore, and with the advent of
> http://wiki.eclipse.org/Ecore_Tools_Proposal, you'll be able to draw your
> class diagram directly using Ecore. It's also possible to export your
> Ecore to UML later. So I see those two approaches as entirely equivalent
> and interchangeable. My preference would be for Ecore, because it's an
> order of magnitude simpler.
> If it's the latter, then UML is very complex and profiles add another
> layer of complexity to that. The advantage is that if folks are familiar
> with UML, they can reuse those concepts to use UML with profiles as a DSL.
> The disadvantage is that UML is complex and might contain far more
> concepts than you need. Building your own DSL API will likely be more
> work, but will result in something more specifically tailored to your
> needs.
>
> Hopefully I've characterized this fairly. I'm sure I'll be corrected if I
> didn't.
>
>
> Swetha wrote:
>> Hi,
>>
>> I am trying to compare the advantages and disadvantages of modeling in
>> UMLProfile vs modeling in Ecore.I would like to know from the users of
>> either of these which one they prefer since i have no working knowledge
>> on either of them.
>>
>> My modeling will be bascially domain specific,hence i thought UMLProfile
>> is the best way to do.But the features provided by Ecore and the
>> development happening at Ecore community cannot be ignored.Can anybody
>> give me your opinion regarding the pros n cons of the two modeling
>> language which will help me decide which modeling language to select.
>>
>>
>> Regards,
>> Swetha.
>>
Re: UMLProfile vs Ecore [message #612711 is a reply to message #101141] Wed, 28 November 2007 09:25 Go to previous message
Swetha is currently offline SwethaFriend
Messages: 36
Registered: July 2009
Member
Hi,

Does Ecore tool provide support for Class diagram only or can we find
support for Usecase,Component,Deployment,Activity kind of diagrams also.

Regards,
Swetha.
Re: UMLProfile vs Ecore [message #612713 is a reply to message #104052] Wed, 28 November 2007 11:07 Go to previous message
David Sciamma is currently offline David SciammaFriend
Messages: 78
Registered: July 2009
Member
Hi,

Ecore Tools only provides "Class diagram like" support because the Ecore
langage does not contain Usecase, Component... and all the UML concepts.
But it's the same with UML Profile : you can just define stereotypes and
tagged values.

You must compare equivalent concepts :
- an Ecore metamodel is comparable with a UML Profile
- an instance of your metamodel is comparable with a UML model where
objects are stereotyped with your UML profile.

and equivalent tools :
- Ecore Tools can be used to design an Ecore metamodel / compare to
/ Profile diagram from a UML tool to designe your profile
- Graphical editor for your metamodel (based on GMF) to create
domain specific models / compare to / UML Designer with applied profile
to create UML models stereotyped with your UML profile

I don't know if it's clear but I hope it will help you.

David

Swetha a écrit :
> Hi,
>
> Does Ecore tool provide support for Class diagram only or can we find
> support for Usecase,Component,Deployment,Activity kind of diagrams also.
>
> Regards,
> Swetha.
>


--
David SCIAMMA

Expert Eclipse / Eclipse Expert
ANYWARE TECHNOLOGIES
Tel : + 33 (0)5.61.00.73.44
Fax : + 33 (0)5.61.00.51.46
http://www.anyware-tech.com
Previous Topic:Adapting Ecore Editor to Teneo_Hibernate Editor
Next Topic:Change the outline view
Goto Forum:
  


Current Time: Mon Sep 21 10:27:06 GMT 2020

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

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

Back to the top