Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB Study Materials

 
java swingprogrammer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
 
Uday Kulkarni
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks Uday......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic