Data binding is the easiest way to handle most common usages of XML in Java applications. It allows you to seamlessly and transparently convert between XML documents and internal data structures without writing a lot of "glue" code. In this session you'll learn about the major approaches to data binding in Java.
Code generation from W3C XML Schema definitions
Will be focused on the JAXB Java standard and the long-established Castor framework. Look at the details of using JAXB and Castor to generate code that links schema validation directly to the data objects. Quick look at other code generation frameworks, and a discussion of the pros and cons of the whole code generation approach for data binding.
Alternative approaches using mapping definitions to define relationships between Java objects and XML data structures
Will cover both the new JiBX framework and the older Castor mapped binding alternative. Performance comparison between the frameworks, and a set of guidelines to help you make the best choice of approach for your application.
Nice presentation on Monday. For your presentation on Wednesday, I'm curious to get your insights in XML Data binding approaches & solutions in web services toolkits, e.g. Systinet or CapeClear.
Nice presentation on Monday. For your presentation on Wednesday, I'm curious to get your insights in XML Data binding approaches & solutions in web services toolkits, e.g. Systinet or CapeClear.