Your best choice is probably JiBX (http://www.jibx.org). JiBX is the fastest XML data binding framework (https://bindmark.dev.java.net/), and lets you work with existing classes. You can use the binding generator from the tools subproject to generate a default binding from your existing classes, then customize that if necessary to get exactly what you want.

If you have questions about JiBX, join up on the JiBX users mailing list (http://sourceforge.net/mail/?group_id=69358) and send the questions there.

 - Dennis

Zhong ZHENG wrote:

Hi,

Thanks for your advice. But the format of my XML file is already defined, although i did not create schemas. If necessary, i may create schema for my XML. But i do not want to use XMLBeans-generated classes. So is it possible to do the data binding by using my own java beans?

Regards.

On 10/22/05, *Giedrius Trumpickas* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

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

    http://xstream.codehaus.org/

    Giedrius



--

ZHENG Zhong

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to