The JavaTM Web Services Tutorial
Home
TOC
PREV TOP NEXT

Java API for XML-based RPC

Dale Green

If you're new to the Java API for XML-based RPC ("JAX-RPC"), this chapter is the place to start. After briefly describing JAX-RPC, the chapter shows you how to build a simple Web service and client.

Although it starts with the basics, this chapter does have a few prerequisites. First, you should already be familiar with the Java programming language. You should also know how to install software, set environment variables, edit XML files, and run commands from a terminal window. A basic knowledge of Web servers is helpful, but not required.

Since this material is based on an early access (EA) release, it does not cover the full capabilities of JAX-RPC. If you're interested in learning more about JAX-RPC and its underlying technologies, please see the list of links on the <JAXRPC_HOME>/index.html page of your installation.

In This Chapter
What is JAX-RPC?
A Simple Example: HelloWorld
HelloWorld at Runtime
HelloWorld Files
Overview of Steps
Setting Up
Coding the Service Definition Interface and Implementation Class
Compiling the Service Definition Code
Creating the Configuration File
Generating the Stubs and Ties
Creating the Deployment Descriptor
Packaging the Service Definition
Deploying the Service Definition
Coding the Client
Compiling the Client Code
Running the Client
The Dynamic Invocation Interface
When to Use DII
A DII Client Example
Home
TOC
PREV TOP NEXT