-
Feb 28th, 2006, 02:33 PM
#1
java xml mapping
I have this problems. i receive from a legacy system some information via websphere mq. The messages are formated in xml (sort of). I need to map de information in this menssages to pojos and i need to convert some pojos to xml messages.
I read about sax, castor, etc but i dont know what to use
Any idea ???
Ignacio
-
Feb 28th, 2006, 03:25 PM
#2
To get a grasp of what can be done I suggest you take a look at commons-digester (http://jakarta.apache.org/commons/digester/). It is not very performant, but I think it gives you a good insight in possible ways of "connecting" java to xml.
-
Feb 28th, 2006, 04:00 PM
#3
you may want to search under XML Data Binding. There is so much out there.
For example, this page gives some benchmarks of a few:
https://bindmark.dev.java.net/
-
Mar 1st, 2006, 08:49 AM
#4
You will have to decide if its raw performance, ease of use or the midle ground...
Hi,
Depending on if your looking for performance, ease of use or somewhere in the midle a lot of frameworks exist for xml to java to xml mapping.
Per raw performance we have been using JibX a lot which per speed is a great mapping framework. However it does depend on bytecode modification...
Greetz
Leo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules