Book Image

Service Oriented Java Business Integration

Book Image

Service Oriented Java Business Integration

Overview of this book

Table of Contents (23 chapters)
Service Oriented Java Business Integration
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Binding in XFire


In XFire terms, bindings are ways to map XML to Java objects. Currently, XFire supports the following bindings:

  • Aegis: Aegis is the default XFire binding which maps XML to POJOs. It supports code first development where you write your service in POJOs and Aegis will generate the XML schema or WSDL for you. It has a flexible mapping system so that you can control how your POJOs are bound.

  • JAXB: JAXB is the reference implementation of the JAXB specification. XFire integrates with JAXB 1.0 and 2.0.

  • XMLBeans: XMLBeans is an Apache project which takes the richness, features, and schema of XML and maps these features as naturally as possible to the equivalent Java language and typing constructs.

  • Message: The MessageBinding has special semantics to allow you to work with XML streams and fragments very easily. The MessageBinding takes the XMLStreamReader from the request and provides it directly to your classes.

  • Castor: Castor provides marshalling and unmarshalling of XML...