Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML and Java Classes

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I know JAXB can generate XML to Java. Usually the XML represents instance data.

What if the XML does not represent instance data but represents actually Meta data. I know people will oh that should be your XSD.

But sometimes XSD is difficult to read. So let's say the Meta model for the domain model is defined in XML, what is the best way to generate that to Java classes?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic