Contents

Introduction to WebObjects XML Serialization Guide

Explains how to serialize objects and data into XML documents.

What You Should Already Know

This document assumes that you are familiar with XML, binary serialization in Java, and Sun's security manager. If you plan on using the XSLT processor included with WebObjects or one of your own, you should have enough knowledge of Extensible Stylesheet Language Transformations (XSLT) to develop XSLT stylesheets. Additional Resources provides a list of resources that get you started in Java binary serialization and XSLT.

You should also have experience developing WebObjects applications. In particular, you need to know how to create applications using Project Builder (the project-management tool of WebObjects). See Additional Resources for a list of documents that address this and other essential subjects.

Organization of This Document

The document contains the following chapters and appendixes:

  • XML Serialization Overview provides you with an overview of XML, XML Schema files, document type definition (DTD) files, XML namespaces, and XSLT.
  • XML Serialization Essentials explains XML serialization in WebObjects. In particular, you learn about the API used to serialize and deserialize objects and data, security, and versioning.
  • Serializing Objects and Data walks you through the creation of a project that implements both binary and XML serialization.
  • XML Transformation explains the process of transforming XML documents using an XSLT processor. It also contains details on how you can use your favorite XML parser and transformer in WebObjects applications and some performance issues to keep in mind when serializing and transforming data.
  • Transforming XML Documents expands the project introduced in Serializing Objects and Data by adding transformation of serialized data.
  • The woxml.dtd file contains listings of the XML Schema and DTD files that define the format of XML documents that represent serialized data.
  • Code Listings contains listings of example classes and the XSLT script introduced in Transforming XML Documents.

This document also contains a glossary of terms and an index.

Serializing Objects and Data and Transforming XML Documents walk you through developing applications that use binary and XML serialization. The projects created in those chapters are included in /Developer/Documentation/WebObjects/XML_Serialization/Projects. As a companion to the document, there is a compressed version of the projects at http://developer.apple.com/documentation/WebObjects .

See Also

If you need to learn the basics about developing WebObjects applications, you can find that information in the following documents:

For additional WebObjects documentation and links to other resources, visit http://developer.apple.com/webobjects .

Additional Resources

In addition to WebObjects development experience, you also need to be acquainted with the Java binary serialization API and XML.

The following resources provide information on serialization and XML:

Other related resources:

Next

Copyright © 2002, 2005 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2005-08-11