RMI interface that matches OrderService, to be used as port interface for
JAX-RPC compliant service access (see "clientContext.xml"). Also needs to be
implemented by the service endpoint for JAX-RPC compliant export, i.e.
JaxRpcOrderService. RMI interfaces are required at the JAX-RPC level.
Client objects that access the service via JaxRpcPortClientInterceptor
respectively JaxRpcPortProxyFactoryBean can work with the plain OrderService
interface, specifying OrderService as "serviceInterface" and RemoteOrderService
as "portInterface".
Note: Neither this interface nor a wrapper class like JaxRpcOrderService
is necessary for working with Hessian, Burlap, or Spring's RMI invoker.
See "applicationContext.xml", "caucho-servlet.xml", and "clientContext.xml"
for details on setting those up in a non-intrusive manner. |