Objects by Design Forums Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home  
Objects by Design Forums : Powered by vBulletin version 2.3.5 Objects by Design Forums > Main Forums > Object-Oriented Software Environments > Xen: solving the impedance mismatch?
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
SZ
Administrator

Registered: Apr 2001
Location: New York
Posts: 492

Xen: solving the impedance mismatch?

Recently we've been looking for a good way to map XML data to Java objects and vice versa. Although this can be done with DOM, jdom and dom4j, it would be nice if it wasn't necessary to write so much glue code.

The process of moving data from an SQL database to objects and then to XML, or back in the opposite direction, highlights what has been called the 'impedance mismatch' problem.

While there are emerging frameworks for making the XML to object mapping process easier, there is still no dominant solution to this problem.

The Java Community Process has produced the JAXB specification and a reference implementation.

Another alternative is JiBX from sourceforge.net and XMLBeans from the Apache XML project.

However, it seems that some researchers at Microsoft understand the impedance mismatch problem very well.

In what appears to be a deliberate leak, a research paper on a new Microsoft language called Xen was published on the web:

Programming with Circles, Triangles and Rectangles

Xen addresses the impedance mismatch by creating a language that unifies access to objects, XML,and SQL. This looks like exciting stuff and directly addresses the impedance mismatch by making the language itself handle XML and SQL data as easily as objects.

James Strachan, author of dom4j, one of the nicest Java XML DOM interfaces, and author of Groovy, a Java scripting language, groks Xen:

http://radio.weblogs.com/0112098/2003/11/21.html

If he puts in Xen-like features into Groovy, as he is proposing on the Groovy wiki, then it may be possible to solve the impendance mismatch problem (Circles, Triangles and Rectangles) in the Groovy language itself:

http://wiki.codehaus.org/groovy/Sup...XsdOrSqlSchemas

Report this post to a moderator | IP: Logged

Old Post 02-05-2004 08:12 PM
SZ is offline Click Here to See the Profile for SZ Click here to Send SZ a Private Message Visit SZ's homepage! Find more posts by SZ Add SZ to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 01:57 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

< Contact Us - Objects by Design >

Powered by: vBulletin Version 2.3.5
Copyright ©2000 - 2017, Jelsoft Enterprises Limited.
Copyright 1999-2005, Objects by Design, Inc.