Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse - which EMF plug-in?

 
Fintan Conway
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To use EMF to develop UML models and generate the code for them - should I download the EMF plug-in, or are there other plug-ins based on EMF that I should download?
Regards,
Fintan
 
Dave Steinberg
Author
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fintan,
You'll definately need to download the EMF plug-ins to get started. This includes the runtime support for EMF-based applications and the code generation tools. However, EMF is not, itself, a UML modeling tool. If you want to create your models in UML, you'll need a tool like:
  • Rational Rose, for which EMF has built-in import support.
  • Omondo EclipseUML, which natively supports EMF. A free edition is available.
  • ArgoUML, which uses Argo2Ecore to export to EMF. ArgoUML is open source.

  • A modeling tool isn't essential, though, as you can also specify models for EMF using annotated Java interfaces or XML Schema. Chapter 2 of the book discusses these issues, and Chapters 6, 7 and 8 detail the mappings from annotated Java, XML Schema and UML, respectively, to Ecore, EMF's "native" meta-model language.
    Cheers,
    Dave
     
    Joe Pluta
    Ranch Hand
    Posts: 1376
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Ahhhhhhh. That answers my other question. EMF is a meta-definition utility, that supports (today) UML, XML and annotated Java. Omondo adds the UML modeling capabilities on top of EMF.
    Thus, with Omondo you can work from the UML stage and then generate either XML or Java.
    Is there enough information in the book for a truly insane person to start fiddling around with an RDB interface? Are there already plans for such a thing? I know it's in the overall direction, but ave concrete steps been made? Because I'd be pretty interested in such a capability, and even working on one.
    Joe
     
    Joe Pluta
    Ranch Hand
    Posts: 1376
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Okay, along the same lines, do you have a preference for an XML editor for use with EMF generated XML?
    Joe
     
    Frank Budinsky
    Author
    Greenhorn
    Posts: 28
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Joe,
    The book doesn't include specific information about how to implement RDB support for EMF but between the book, the emf newsgroup, and poking through the code, a "truly insane person" should be able to figure it out.
    From the emf newsgroup, I've gotten the impression that several people are already playing around with this kind of thing. We also are doing some prototyping in this area ourselves, but we aren't ready to commit to releasing anything yet.
    For your editing XML question, there is an EMF-generated sample editor that we provide with EMF that can be used to edit EMF generated XML files.
    Frank.
     
    Joe Pluta
    Ranch Hand
    Posts: 1376
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Oh goodie... just what I need. Another newsgroup to monitor .
    Seriously, though, this looks like it has a LOT of synergy with the stuff I do for a living, so you may well find me puttering about.
    Joe
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic