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 Murach's Java Servlets and JSP this week in the Servlets 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
subject: extending or instantiating JAXB factory?
Similar Threads
JAX-B - Unmarshalling Vs. Read XML data (ObjectFactory)
jaxb external customization with WSDL (and imported WSDL)
Problems with JAXB-generated javadoc code
Help: Creating web service proxy using JAXB generated domains
how to convert one string to JAXBElement