Posts Tagged ‘ OpenSource ’

XStream is nearing a release

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:

Joe
Walnes

123
1234-456


123
9999-999

New Book: Java Open Source Programming

Our new book, (With the snappy title, Java Open Source Programming : with XDoclet, JUnit, WebWork and Hibernate) hits the shelves this months. A joint effort between Pat Lightbody, Ara Abrahamian, Mike Cannon-Brookes and myself.

This book :

* Highlights many of the complexities of J2EE and shows how to leverage best of breed open-source tool to reduce or even eliminate these.
* Introduces you to some of the coolest open-source projects in the history of mankind.
* Demonstrates the test-driven-development to drive design (and even some tests).
* And most importantly of all… shows how to combine these tools and techniques to deliver an end-application.

Go pre-order!

SiteMesh.NET in CVS

Jeremy Clymer has ported SiteMesh to .NET. And it works like a charm!

Here’s the feedback that I’ve had so far.

bq. “SiteMesh.NET rocks dude!”

bq. “I downloaded and it just worked.”

You can get it from “CVS”:http://sourceforge.net/cvs/?group_id=26435 if you can’t wait for a release. It’s already stable.

MockObjects Java 0.09

The latest release of the Mock Objects Java project is available. The dynamic mock generation API has been improved greatly and it now allows a lot more flexibility in setting up expectations and return values resulting in less brittle tests.

“Website”:http://www.mockobjects.com/
“Download”:http://sourceforge.net/projects/mockobjects/

NMock 1.0

After many months of little changes, we deemed NMock production quality. It stabilised quickly many months ago and has changed very little since.

Documentation is somewhat sparse – contributions welcome!

http://nmock.truemesh.com/”:http://nmock.truemesh.com/