Thursday, July 15, 2004

The Castor Project

The Castor Project
Castor is an Open Source data binding framework for Java[tm]. It's the shortest path between Java objects, XML documents and relational tables. Castor provides Java-to-XML binding, Java-to-SQL persistence, and more.

I am currently using Castor API to quickly covert javabean objects to xml for shipment via tcp/ip sockets to an external platform. I also use Castor to recreate the Javabean object from the XML. Its pretty neat and saves a lot of time. One problem the Castor conversion classes are not thread safe, so I have to find a work around for using it in a multithreaded application.

RATING: ****

No comments: