I use JDK 1.6 and I work on an a existing application which is using JAXB.
How can I know whether I am using JAXB 1 or JAXB 2 ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If there are any annotations from the
javax.xml.bind.annotationpackage in your model then you are using JAXB 2 (JSR-222). These annotations did not exist in JAXB 1 (JSR-31). A JAXB 1 model consists of spec defined generated interfaces backed by implementation specific impl classes.