Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The purpose of Aegis is to allow you to control how your classes and methods are serialized in the web service environment without requiring intrusive modifications to your source code. If you are willing to modify your source code to include annotations, you should probably use JAXB. JAXB code can move to other web service toolkits. Aegis is a private feature of CXF. Aegis allows you to specify the same sorts of things that JAXB allows you to specify. The difference is where and how you specify them. In Aegis, for a class (or interface) named 'SomeObjectOfMine', you place a file names SomeObjectOfMine.aegis.xml (called a mapping file) in the classpath in the same project. Aegis reads the XML file for instructions.

...

There is also a procedure for adding custom mappings beyond the capabilties of these basic methods. There are several 'custom' mapping supplied, for items ranging from Gregorian Calendar dates to MTOM attachments.

Basic Configuration and Options

Aegis has some global configuration, and then some per-service configuration. The global configuration is organized in the AegisDatabinding object.

The configuration object