This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Fast  Java object to XML marshalling and unmarshalling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Fast  Java object to XML marshalling and unmarshalling" Watch "Fast  Java object to XML marshalling and unmarshalling" New topic
Author

Fast Java object to XML marshalling and unmarshalling

Ranjan Sinha
Greenhorn

Joined: Sep 11, 2009
Posts: 6
Hi,

I am trying to implement a component for doing RPC.There would be many such request/response objects but these would still be very simple Java objects. I am looking at a fast solution for marshalling and unmarshalling these object to XML. RIght now I am looking at XStream http://xstream.codehaus.org/ and Castor http://www.castor.org/xml-framework.html. May be I have not understood JaxB but it seems that it is not the correct choice for my simple requirement.

Currently I am favouring XStream so I want to know if it is the right choice or if there can be something else that can be used?


If you tell the truth you don't have to remember anything.
-- Mark Twain
Michael Schlegel
Greenhorn

Joined: Sep 11, 2009
Posts: 13
Hi,

For such thinks i prefere the Simple framework.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Fast Java object to XML marshalling and unmarshalling