File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "extending or instantiating JAXB factory?" Watch "extending or instantiating JAXB factory?" New topic

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?



thanks in advance, please advice.

Bhagat Singh Rawat
Ranch Hand

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


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