• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

extending or instantiating JAXB factory?

 
Robin John
Ranch Hand
Posts: 281
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Robin John wrote:
OPTION A

OPTION B



Option B is right approach. Please go through Generating an XML Document with JAXB
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic