Hi all;
I just wanted to know before I completely dive into JAXB.
1. I want to have my value object (plain java beans with no hierarchy that
encapsulate bulk data) transformed into XML with JAXB.
The data inside the VOs should be place in various places in the XML output.
Is JAXB the place to go?
Can I have non JAXB class (my VO are not JAXB compiled classes) transform
into XML without precompilation ?
2. say I can through my current VO and compile them with JAXB first , can I
achieve the following example?
Example:
I need to transform this:
<root>
<son1>
<a>hi<a/>
</son1>
<son2>
<son3>
<b>hi again<b>
</son3>
</son2>
</root>
Into this:
Class VO{
String a,b;
public VO(String a, String b){ ….
}
getters/setter
}
(and vice versa)
Is this achieved with custom binding declarations?
Thanks.
_______________________
Guy Katz
Comverse
guy.katz_at_comverse.com
+972 3 7663686