Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 8. Using Controls, Bindings, and... > Binding Java to XML Using XML Beans

Binding Java to XML Using XML Beans

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:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial