Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A web service communicates with clients and with many resources via XML messages. In many cases, it is necessary to translate back and forth between XML and the Java method or callback arguments inside your web service. Outgoing method calls need their Java parameters translated into the appropriate XML data types; likewise, incoming XML messages need their data translated into the appropriate Java method parameter types.
XML Beans, a technology used throughout WebLogic Workshop, provides powerful, natural, and very easy translation between XML data and Java types. A major objective of XML Beans has been to be applicable in all nonstreaming (in-memory) XML programming situations. The following are advantages of XML Beans for handling XML: