Java Architecture for XML Binding (JAXB)

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ]

Articles
  

Articles:
  • Object Serialization with the JAXB Libraries by Robert Eckstein   - [Clicks: 157]
    This Tech Tip introduces the JAXB APIs. It shows you how to generate a set of Java classes from an XML Schema document using the JAXB binding compiler. This tip also shows you how to serialize an object to an XML file -- this is called marshalling -- and how to do the opposite: serialize an object from an XML file -- this is called unmarshalling.
    [Includes sample code]
    http://java.sun.com/developer/EJTechTips/2004/tt1221.html#1 - Dec, 2004
  • Practical data binding: Dancing with endpoints by Brett McLaughlin   - [Clicks: 43]
    Data binding solutions are often chosen and applied in a vacuum, without regard for other parts of an application's infrastructure. As a result, these solutions are often great in concept, but ill-suited for the actual tasks that they must perform. This article details how to analyze the endpoints of your application -- the parts of the application that handle the interpretation of the data-bound code -- and then how to build robust code based on this analysis. You'll learn how to best structure your data binding so that it works with your application, rather than against it.
    http://www-106.ibm.com/developerworks/library/x-pracdb7.html - Dec, 2004
  • Generating an XML Document with JAXB by Deepak Vohra   - [Clicks: 155]
    Deepak Vohra shows how JAXB enables you to convert XML files to Java objects and back again.
    [Includes example code]
    http://www.onjava.com/pub/a/onjava/2004/12/15/jaxb.html - Dec, 2004
  • Using JAXB in J2EE-Based Enterprise Applications by Tilak Mitra   - [Clicks: 74]
    In Part 2 of this two-part series (Part 1 appeared in Vol. 9, issue 4) I shall try to construct an XML Schema, take you through the steps required to convert an XML document into its corresponding Java classes and interfaces, and also show how to generate an XML document (by using the generated Java classes and interfaces) from a Java object tree, in a programmatic fashion.
    [Includes source code]
    http://www.sys-con.com/story/?storyid=47353&DE=1 - Dec, 2004
  • Generating an XML Document from XML Schema with JAXB by Deepak Vohra   - [Clicks: 92]
    In this Technical Note, we will generate Java classes from an example XML Schema using the JAXB Class Generator. We will then create an example XML document from those Java classes.
    http://otn.oracle.com/pub/notes/technote_jaxb.html - Jul, 2004
  • Practical data binding: Looking into JAXB, Part 2 by Brett McLaughlin   - [Clicks: 58]
    The last installment of this column dealt with generating classes using the JAXB API. This article focuses on using these classes, and examines JAXB's round-tripping capabilities. You'll learn where the problem areas are in converting from XML to Java code and then back again.
    http://www-106.ibm.com/developerworks/xml/library/x-pracdb3.html - Jun, 2004
  • Practical data binding: Looking into JAXB, Part 1 by Brett McLaughlin   - [Clicks: 64]
    In the last installment, Brett examined several important concepts in data binding, including round-tripping and semantic equivalence. In this article, he looks at Sun's JAXB architecture and implementation in light of these terms. You'll learn how JAXB handles class generation, and how that affects the XML input and output accepted by the API.
    http://www-106.ibm.com/developerworks/xml/library/x-pracdb2.html - May, 2004
  • The State of JAXB: Availability, Suitability, Analysis, and Architecture by Satya Komatineni   - [Clicks: 30]
    JAXB, now part of Sun's Web Services Developer Pack, offers a means of converting between Java objects and an XML representation. But is it the ideal solution? Satya Komatineni investigates what JAXB has to offer.
    http://www.onjava.com/pub/a/onjava/2004/05/05/jaxb.html - May, 2004
  • Using JAXB in Enterprise J2EE Applications by Tilak Mitra   - [Clicks: 50]
    It has been well proven over the past few years that the best form of information exchange (in a typical B2B and B2C environment) is through XML. There are various XML-based standards (schema) for both the horizontal and vertical market sectors and there are ongoing efforts to move toward a standardized format in the various industry sectors.
    [Includes source code]
    http://www.sys-con.com/story/?storyid=44369&DE=1 - Apr, 2004
  • Using JAXB to Develop Enterprise Applications with WebSphere Studio Application Developer V5.1 by Tilak Mitra   - [Clicks: 54]
    This article describes how to use Java Architecture for XML Binding (JAXB) from within WebSphere Studio Application Developer to develop real-world enterprise applications. JAXB provides a convenient way to bind an XML schema to a representation in Java code and makes it easy for developers to incorporate XML data and processing functions into applications based on Java technology without having to know much about XML itself.
    http://www-106.ibm.com/developerworks/websphere/library/techarticles/0402_mitra/0402_mitra.html - Feb, 2004

[Top]