If you don't have schemas defined for your XML and have already existing beans use:

http://xstream.codehaus.org/

Giedrius


On 10/21/05, Zhong ZHENG <[EMAIL PROTECTED]> wrote:
Hi there,
 
I have a project that uses castor to do the xml-java data binding. I am planning to migrate from castor to XMLBeans. What i need is to marshall an XML file to java beans, and unmarshall java beans to an XML file. The format of my XML files is quite simple, and i didn't use schemas. The java beans are already coded and i do not want to use generated classes. I checked the documenations of XMLBeans, but did not find any articles or samples about simple marshalling/unmarshalling. (Perhaps i am not patient enough). I would like to know, may the XMLBeans project meet my requirements?
 
I am completely new to XMLBeans. May someone tell me if i am in the correct way to migrate from castor to XMLBeans? Or if i'd better keep playing with castor?
 
All your suggestions are appreciated. Thanks in advance.

--

ZHENG Zhong

1 Avenue Alphand
75116 Paris, France
+33 6 76 80 45 90
 

Reply via email to