The Artima Developer Community
Sponsored Link

Agile Buzz Forum
XStream is nearing a release

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Joe Walnes

Posts: 151
Nickname: jwalnes1
Registered: Aug, 2003

Joe Walnes, "The Developers' Coach" from ThoughtWorks
XStream is nearing a release Posted: Nov 10, 2003 9:25 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Joe Walnes.
Original Post: XStream is nearing a release
Feed Title: Joe's New Jelly
Feed URL: http://joe.truemesh.com/blog/index.rdf
Feed Description: The musings of a ThoughtWorker obsessed with Agile, XP, maintainability, Java, .NET, Ruby and OpenSource. Mmm'kay?
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Joe Walnes
Latest Posts From Joe's New Jelly

Advertisement

XStream is a simple object -> xml -> object serialization tool. There are many other tools that do similar things out there. Here are some of the features that distinguish it from the others:

  • Very fast.
  • Requires no custom mappings to be created.
  • Can serialize objects that have private fields and non-default constructors.
  • Handles arbitary objects and collections.
  • Produces very clean XML; the kind a human would write.
  • Does not duplicate any information in the XML that can be obtained via reflection.
  • Decoupled from XML implementations. Use it with DOM, JDOM, DOM4J, or even non-XML streams (such as custom configuration objects, YAML or properties files).
  • Open source, BSD license.

Here's an example chunk of XML produced by XStream:

<person>
  <firstname>Joe</firstname>
  <lastname>Walnes</lastname>
  <phone>
    <area>123</area>
    <number>1234-456</number>
  </phone>
  <fax>
    <area>123</area>
    <number>9999-999</number>
  </fax>
</person>

Read: XStream is nearing a release

Topic: AYE conference, day 3 Previous Topic   Next Topic Topic: Getting a drivers license in Canberra

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use