Prerequisites
Download the JAXB implementation from Sun's web site at:
After you decompress the files in the JAXB implementation archive, you will find the following two JAR files in the lib folder:
jaxb-rt-{version} .jar jaxb-xjc-{version} .jar
When you use the JAXB to generate classes, you need to have the xjc JAR file in your CLASSPATH, and when you use the classes that the JAXB generates for you, you need the rt JAR file in your CLASSPATH.
Get Java™ Web Services Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.