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
Joined: Aug 18, 2003
Posts: 20
posted
0
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
Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0131425420/ref=jranch-20" target="_blank" rel="nofollow">Eclipse Modeling Framework</a>
Joe Pluta
Ranch Hand
Joined: Jun 23, 2003
Posts: 1376
posted
0
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
Joined: Jun 23, 2003
Posts: 1376
posted
0
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
Joined: Sep 08, 2003
Posts: 28
posted
0
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.
Lead author of <a href="http://www.amazon.com/exec/obidos/ASIN/0131425420/qid%3D1064321221/sr%3D11-1/ref%3Dsr%5F11%5F1/102-1364017-8080960" target="_blank" rel="nofollow">Eclipse Modeling Framework</a>.
Joe Pluta
Ranch Hand
Joined: Jun 23, 2003
Posts: 1376
posted
0
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