Chapter 22. Creating Web Services with JAX-WS

<feature><title></title>

WHAT YOU’LL LEARN IN THIS HOUR:

  • Defining a Java interface for a web service

  • Applying this interface to a Java class

  • Deploying a web service on the Internet

  • Viewing a web service contract

  • Creating a web service client

</feature>

Now that the Internet is everywhere, driving millions of desktop computers, web servers, phones, videogame consoles, and other devices, the desire to connect them all together has given rise to web services, software that communicates with other software over HTTP, the protocol of the web.

One of the most exciting new features of Java is the Java API for XML Web Services (JAX-WS). JAX-WS is a set of packages and classes that create clients that make requests ...

Get Sams Teach Yourself Java™ in 24 Hours, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.