
Flash Advertise
| Data binding with Castor, Part 2: Marshall and unmarshall XML | ||
| From: IBM developerWorks Worldwide read times: 99 | ||
Provided by yangyi at 2007-12-23 19:47:49 | ||
Level: Advanced Brett D. McLaughlin, Sr. (brett@newInstance.com), Author and Editor, O'Reilly Media, Inc. 10 Dec 2007 In the last article of this series, you downloaded, installed, and set up Castor. In this article, you'll learn how to convert your Java™ classes to XML and transform that XML back into Java code, as well as how Castor works and how to design your classes to function well with the API. Before you go any further, you should ensure you have the prerequisites for this article. The simplest way to take care of these requirements is to follow the steps outlined in the first article in this series (links are in the ever-present Resources of the article). That first article walks you through downloading Castor, installing and configuring it, and testing the API on some very simple classes. ...... Please access the below link to view the full content. Original link: http://www.ibm.com/developerworks/xml/library/x-xjavacastor2/?S_TACT=105AGX54&S_CMP=A1214&ca=dnw-848 |