September 2002
Intermediate to advanced
608 pages
14h 20m
English
As with RMI, JAX-RPC services use a Java interface to describe the interface available to remote callers. The first step in creating our JAX-RPC Web Service is to create this interface. Like RMI interfaces, JAX-RPC interfaces extend java.rmi.Remote, and methods within the interface can each throw java.rmi.RemoteException. Because of these common requirements, and just a general desire for code reuse, we'd like to use the same interface we created for the RMI version of the application (see Chapter 15). As it turns out, there are a few things that prevent us from doing this. Although it would be possible to design an interface that worked equally well with either RMI or JAX-RPC, our current interface ...
Read now
Unlock full access