Hi
I have create ObjectA and defined it in the mapping.xml. As a JDO
application, it is reading/writing to the DB as expected.
Now I want to enable XML support, ie to allow reading and writing of the
ObjectA via XML. This is the process:
App_1 -> send xml -> MyApp (unmarshal xml, create ObjectA, store in DB)
What is the easiest way to accomplish this? Do I:
(1) Call Marshal.marshal and Unmarshal.unmarshal on ObjectA
(2) Use the existing mapping.xml and call marshaller.marshal and
unmarshaller.unmarshal
Or have I gone the wrong way and should:
(3) Create a DTD and generate ObjectA again using the SourceGenerator. Then
use Marshal and Unmarshal on ObjectA
In summary, what's the correct approach?:
(a) creating an object and defining it in mapping.xml
(b) creating the dtd, generating the object using SourceGenerator, and
defining it in the mapping.xml
I think I am a bit confused in integrating Castor JOD and Castor XML.
Regards
Keith C
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev