[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: JAXB

Viraf,

Yes, EMF can be used standalone. On your classpath you will need the common.jar, ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common, org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively.  XSD itself is based on Ecore and it runs standalone too.

EMF produces high quality model code that you can modify and subsequently regenerate because it has a merging generator.  EMF also generates a complete application that includes reusable platform-neutral view support and an Eclipse-based editor.  EMF may not handle some schemas that JAXB can handle, although the reverse may also be true.  I'd suggest trying both approaches and being your own judge.  Here's a tutorial to describe the steps:

 http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E/emf-home/docs/xlibmod/xlibmod_main.html

Viraf Bankwalla wrote:

Thanks - I'll check out EMF.

Can EMF be used standalone (i.e. outside the eclipse environment)?  What
additional baggage do I need to carry if I use it outside eclipse?  What are
the pros/cons of using EMF over JAXB?

- viraf

"Luiz Marcelo" <lmap@xxxxxxxxxx> wrote in message
news:ba1tgn$ld5$1@xxxxxxxxxxxxx...
> Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
everything
> you are asking for and much more.
>
> "Viraf Bankwalla" <viraf_bankwalla@xxxxxxxxx> wrote in message
> news:ba1h7e$dth$1@xxxxxxxxxxxxx...
> > Hi,
> >
> > I was on Sun's site and came across the JAXB specs.  Is there any plan
on
> > providing JAXB support to this or another eclipse project?
> >
> > I would like to be able to define schemas, use JAXB to create the
> supporting
> > classes, and an XML editor to create documents that conform to the
schema.
> >
> > Thanks.
> >
> > - viraf
> >
> >
>
>