Results 1 to 4 of 4

Thread: java xml mapping

  1. #1
    Join Date
    Aug 2004
    Location
    San Jose - Costa Rica
    Posts
    42

    Default 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

  2. #2
    Join Date
    Dec 2004
    Location
    Rotterdam, The Netherlands
    Posts
    162

    Default

    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.
    Kees de Kooter
    www.boplicity.net

  3. #3
    Join Date
    Aug 2004
    Location
    u.s.a
    Posts
    399

    Default

    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/

  4. #4
    Join Date
    Nov 2004
    Posts
    28

    Default 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
  •