FileDocCategorySizeDatePackage
RemoteOrderService.javaAPI DocExample1579Sat Dec 27 17:56:34 GMT 2003org.springframework.samples.jpetstore.service

RemoteOrderService

public interface RemoteOrderService implements Remote
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.

author
Juergen Hoeller
since
26.12.2003
see
org.springframework.samples.jpetstore.service.server.JaxRpcOrderService
see
org.springframework.samples.jpetstore.domain.logic.OrderService
see
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor#setPortInterface
see
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor#setServiceInterface

Fields Summary
Constructors Summary
Methods Summary
public org.springframework.samples.jpetstore.domain.OrdergetOrder(int orderId)