my dog learned polymorphism*
The moose likes Web Services and the fly likes extending or instantiating JAXB factory? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "extending or instantiating JAXB factory?" Watch "extending or instantiating JAXB factory?" New topic
Author

extending or instantiating JAXB factory?

Robin John
Ranch Hand

Joined: Sep 10, 2008
Posts: 270

Hi all,

I am using JaxB to create an XML, I wanted to confirm, which of the below should I follow?

OPTION A

OPTION B


thanks in advance, please advice.

Regards.
Bhagat Singh Rawat
Ranch Hand

Joined: Apr 04, 2009
Posts: 93
Robin John wrote:
OPTION A

OPTION B



Option B is right approach. Please go through Generating an XML Document with JAXB
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: extending or instantiating JAXB factory?
 
Similar Threads
JAX-B - Unmarshalling Vs. Read XML data (ObjectFactory)
Help: Creating web service proxy using JAXB generated domains
how to convert one string to JAXBElement
jaxb external customization with WSDL (and imported WSDL)
Problems with JAXB-generated javadoc code