Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using JAXB?

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone know how to use JAXB withouth using all this Sun JWSDK? I just want to use JAXB.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JAXB is part of the Sun Java Web Services Developer Pack. Within the pack are separate sections for jaxb, jaxp, jaxm, jax-rpc, jstl, and saaj. Each section has its own jars. You can pick and choose the code you want to use from these sections, but there may be some dependencies between them. For example, when last working with JAXB I needed to include the JAXB and SAAJ jars, but not any of the jars from the other sections. I have not heard of any non-Sun JAXB implementations - please let me know if anyone else has.
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried just working with the jar files shipped in lib directory of JAXB directory.
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bartolo Almeda:
Does anyone know how to use JAXB withouth using all this Sun JWSDK? I just want to use JAXB.


When we use JAXB, we use the following jars at runtime:
jaxb-api.jar
jaxb-impl.jar
jaxb-libs.jar
jax-qname.jar
namespace.jar
relaxngDatatype.jar
xsdlib.jar
I didn't do any of the JAXB work here, so I can't say much more. But, if you add them all in, then your app will work. (note - you need the jaxb-xjc jar to generate your classes)
 
I love a woman who dresses in stainless steel ... and carries tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic