Sams Teach Yourself Java™ in 24 Hours (Covering Java 7 and Android)

(singke) #1
ptg7068951

Summary 323

Summary


The JAX-WS set of packages and classes is the successor to the Java API for
XML-based RPC (JAX-RPC), a technology for making remote procedure
calls from one Java object to another over the Internet.


The ability to call other software, regardless of its location and the pro-
gramming language in which it’s written, is one of the building blocks of a
software development trend called Web 2.0.


Web 2.0 enables software to take as much advantage of the Internet’s ubiq-
uitous connectivity as humans have enjoyed since the Web became popular
in the mid-1990s.


This hour’s covered all four steps of creating and using a web service
using JAX-WS. You can create an interface for the service (a Service
Endpoint Interface), implement the service (a Service Implementation
Bean), publish the service on the Internet, and create a client to access it.


Many programming tools, including NetBeans and the JDK, make it possi-
ble to create code automatically to simplify the job of creating and access-
ing web services.


FIGURE 22.1
Calling a web service anddisplay-
ing the response.
Free download pdf