• 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

JAXB Study Materials

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I need to use JAXB in my project, but I am not finding any good notes for JAXB.
If any one have links for JAXB, please send it to me.
Also please give me some good names of text book on JAXB.

Thank you very much

Renjith M
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Renjith

Please go to this link to learn basics of JAXB
http://java.sun.com/webservices/docs/1.5/tutorial/doc/JAXBWorks2.html

In short JAXB generates Java classes for the XMl schema. And allows you to read XML and deserialise/unmarshal into Java objects and vice versa.

You can get jaxb packaged into JWSDP2.0 available at
http://java.sun.com/webservices/downloads/previous/webservicespack.jsp

after you install/unpack the JWSDP pack you will get folders, jaxb,jaxp,jaxrpc folders in the root directory of JWSDp.

To generate java classes for your schema run the following command .offcourse after setting JAXB_HOME and JAVA_HOME environmental variables.


xjc -extension -d c:\tmp\src -p com.abc.demo c:\tmp\abc.xsd

c:\tmp\src is location where all java classes will be generated.
c:\tmp\abc.xsd is yuor schema



Hope this information helps you

Cheers
Uday

java swingprogrammer wrote:Hi all,

I need to use JAXB in my project, but I am not finding any good notes for JAXB.
If any one have links for JAXB, please send it to me.
Also please give me some good names of text book on JAXB.

Thank you very much

Renjith M

 
java swingprogrammer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Uday......
 
reply
    Bookmark Topic Watch Topic
  • New Topic