epubjs
Version:
Render ePub documents in the browser, across many devices
17 lines (16 loc) • 2.08 kB
HTML
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Web Services</title><link rel="stylesheet" href="core.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"/></head><body><div class="sect1" title="Web Services"><div class="titlepage"><div><div><h1 class="title"><a id="learnjava3-CHP-24-SECT-10"/>Web Services</h1></div></div></div><p><a id="idx11226" class="indexterm"/>As we saw in our web services examples in Chapters <a class="xref" href="ch14.html" title="Chapter 14. Programming for the Web">14</a> and <a class="xref" href="ch15.html" title="Chapter 15. Web Applications and Web Services">15</a>, one of the
most interesting uses for XML is web services. A web service is simply an
application service supplied over the network, making use of XML to
describe the request and response. Normally, web services run over HTTP
and use an XML-based protocol called <a id="I_indexterm24_id837568" class="indexterm"/><a id="I_indexterm24_id837574" class="indexterm"/>Simple Object Access Protocol (SOAP), a W3C standard. The
combination of XML and HTTP provides a widely accessible interface for
services.</p><p>SOAP and other XML-based remote procedure call mechanisms can be
used in place of Java RMI for cross-platform communications. Web services
are widely used and it is likely that they will continue to grow in
importance in coming years. To learn more about Java APIs related to web
services, check out the networking chapters of this book and take a look
at <a class="ulink" href="http://java.sun.com/webservices/">http://java.sun.com/webservices/</a>.</p><p>That’s it for our brief introduction to XML. There is a lot more to
learn about this exciting area, and many of the APIs are evolving rapidly.
We hope we’ve given you a good start.<a id="I_indexterm24_id837598" class="indexterm"/></p></div></body></html>