HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 237924 thumbnail
User 400305 avatar

By vineetmanohar
via vineetmanohar.com
Published: Sep 21 2009 / 13:03

JAXB is a Java library used for reading and writing XML files. Unlike DOM or SAX, JAXB is a high level library that maps XML directly to Java Objects. You point JAXB to an XML file and it returns you a Java object representing the XML. While JAXB is easy to use, it may take some time to get started. I've documented everything that you need to know, with code snippets, to help you start using JAXB in a few minutes.
  • 15
  • 0
  • 2713
  • 6

Comments

Add your comment
User 283139 avatar

ceaseoleo replied ago:

0 votes Vote down Vote up Reply

Jaxb allows for annotations now.

User 400305 avatar

Vineet Manohar replied ago:

0 votes Vote down Vote up Reply

Good point. Annotations like @XmlRootElement, @XmlElement, @XmlAccessType are automatically used in the XJC generated code. You don't need to write any annotations based code yourself.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.