• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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: 8953
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)
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic