XML-to-Java, and Java-to-XML

Raghunandan Havaldar rhavaldar at str.com
Wed Mar 31 22:37:40 BST 1999


I am experimenting with mapping an XML document to
Java object model, and vice-versa. Have a couple of
things on mind - using Java Beans, Reflection mechanism
and (mapper, lookup classes). 

I was wondering if somebody out there has worked and
developed some kind of a model to do this transformation.
(am sure someone has given it a try). 

If not, has anybody have ideas of how to go about doing it ?.

Currently, the XML documents are purely in a flat file
format. If the 'mapper', 'lookup' and related utility classes
can be defined, the XML documents could possibly be
stored in databases instead.

 'mapper' - maps a XML model to a Java object graph
(uses Java Beans's patterns and Reflection to achieve this).
Also, should be able to do Java object model to
an XML model (vice-versa).

'lookup'  - provides lookup of XML nodes in a DOM-based

I have just started scratching the surface today. Any ideas,
suggestions or comments are welcome.


Raghu Havaldar
rhavaldar at str.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list