Re: UMLProfile vs Ecore [message #625435] |
Wed, 07 November 2007 09:15 |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02853 seconds