JavaPolis: XOM Design Patterns talk


News: JavaPolis: XOM Design Patterns talk

  1. JavaPolis: XOM Design Patterns talk (3 messages)

    XOM (XML Object Model) is an open source API for processing XML with Java using a streaming tree model. Although it is open source, XOM was implemented using the cathedral model of development (one designer's vision) rather than the bazaar model. This JavaPolis talk by Elliotte Rusty Harold (login required) explores the design goals, basic API principles, XML principles, Java restrictions and requirements, and testing techniques and tools that have contributed to XOM's development. In this talk, Harold identifies some general principles of API design for all Java libraries and systems. What are your experiences with XOM as an XML API?

    Threaded Messages (3)

  2. simple and beautiful[ Go to top ]

    Very nice simple API. I just downloaded the jar, opened the javadoc documentation and wrote a simple test to generate an xml document in 10 minutes. The API is so intuitive that I didnt even need to look at any tutorials or example code. Worth a try. All the relevant classes are in the same package, nu.xom. This makes using javadocs a breeze. I really liked the XOMTestCase which has its own sets of asserts. Great work Elliot!!
  3. Re: simple and beautiful[ Go to top ]

    I concur, it's great and yet simple to start using. I was at Javapolis last year, hearing for the first time about it. Now I use it for every XML related task.
  4. Easy to use, good performance working with the document (XPath, adding/deleting nodes etc.). Very nice!