File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB relation to Eclipse?

 
Juan Rolando Prieur-Reza
Ranch Hand
Posts: 237
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link to Chapter 2, which I've only skimmed so far.
The impressive mingling of XML + UML giving java leads me to wonder if there is any relationship between Eclipse fundamentals and the JAXB (Java Architecture for XML Binding) ?
I find the JAXB to be very promising as well: JAXB's concept seems very clear; I can easily see myself using it or maintaining software I seem to always inherit :roll: . For example, I would be likely to want to generate java to represent entity-like constructs by first defining them as XML and then automatically generating the java code. I can see it. But right at this moment, I am having a hard time seeing the "XML + UML => java" of Eclipse working for me; it seems like a heep 'o tumble weed.
No conclusions yet. Would someone care to enlighten me?
 
Ed Merks
Author
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by john prieur:
Thanks for the link to Chapter 2, which I've only skimmed so far.
The impressive mingling of XML + UML giving java leads me to wonder if there is any relationship between Eclipse fundamentals and the JAXB (Java Architecture for XML Binding) ?
I find the JAXB to be very promising as well: JAXB's concept seems very clear; I can easily see myself using it or maintaining software I seem to always inherit :roll: . For example, I would be likely to want to generate java to represent entity-like constructs by first defining them as XML and then automatically generating the java code. I can see it. But right at this moment, I am having a hard time seeing the "XML + UML => java" of Eclipse working for me; it seems like a heep 'o tumble weed.
No conclusions yet. Would someone care to enlighten me?

John, I was a member of the JAXB 1.0 expert group and am currently a member of the JAXB 2.0 expert group, which has just started meeting. The goals for JAXB are quite different from those for EMF. They are trying to define a mapping of XML Schema onto Java whereas we are trying to define a mapping of XML Schema onto Ecore, which already has a well defined mapping onto Java. Their goal is to provide a clean Java API for manipulating XML whereas we are trying to provide a unifying metamodel for manipulating any data, XML or otherwise; we both aim to be able to serialize data as XML. Different strategies and goals often lead to different results, as is the case here. We will try to keep in line with JAXB but some divergence is to be expected.
Note that the 2.0 stream of EMF and XSD, which we expect to make public very soon, will include simplified and significantly more powerful XML Schema to Ecore mapping. Things like wildcards and mixed content will be support. In fact, we'll be able to read arbitrary XML, with or without an XML Schema, as an EObject graph. We look forward to getting feedback on this latest design when we make it available.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has JAXB reached a stable version?
[ September 24, 2003: Message edited by: Pradeep Bhat ]
 
Ed Merks
Author
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pradeep, version 1.0 is finalized but version 2.0 opens it back up again. Issues such as aligning with JAX-RPC, and providing more complex XML Schema coverage, may result in "breaking" changes.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you tell me what JAXB has got to do with Eclipse. Sorry I am not able to understand from the previous posts here.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
Can you tell me what JAXB has got to do with Eclipse. Sorry I am not able to understand from the previous posts here.

Nothing, from what I understand...
 
Frank Budinsky
Author
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAXB defines a mapping from XML Schema to Java. Since EMF allows you to define a model in XML Schema and then generate Java for it, it overlaps with what JAXB is doing. As Ed mentioned in his previous post, he is participating in the JAXB expert group to try to keep EMF in sync with JAXB as much as possible, even though EMF larger vision than just XML to Java mapping.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic