Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If using EMF in a non-Eclipse environment is feasible (licensing issues), what if any, advantages does using EMF have over using JAXB?

0
Posted

If using EMF in a non-Eclipse environment is feasible (licensing issues), what if any, advantages does using EMF have over using JAXB?

0

EMF and XSD are definitely intended to support standalone execution outside of Eclipse.Only the EMF jars are needed for standalone execution (as described in the FAQ).Within IBM, you should discuss licensing issues with the IBM Eclipse SDK folks, since that’s the supported distribution vehicle for EMF and XSD within IBM.I don’t believe there are any issues as long as you stick to using released (i.e., supported) drivers. JAXB produces a simple Java API given an XML Schema and it does so using essentially a black box design.EMF produces an Ecore model given an XML Schema and then uses template-based generator technology to generate a rich Java API (of hand written quality).The XML Schema to Ecore conversion can be tailored, the templates used to generate the Java API can be tailored, and the resulting Java API can be tailored.The generator supports merging regeneration so that it will preserve your hand written changes.In other words, EMF is far richer and more flexible, and supports a

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123