org.objectweb.easybeans.rpc.rmi.client
Class RMIClientRPC

java.lang.Object
  extended by org.objectweb.easybeans.rpc.rmi.client.RMIClientRPC
All Implemented Interfaces:
ClientRPC

public class RMIClientRPC
extends java.lang.Object
implements ClientRPC

RMI implementation of the RPC mechanism of EJB requests/responses.

Author:
Florent Benoit

Constructor Summary
RMIClientRPC()
           
 
Method Summary
 EJBResponse sendEJBRequest(EJBRequest request)
          Sends a request comes to the remote side.
A response is done by the remote side and it sends back a response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIClientRPC

public RMIClientRPC()
Method Detail

sendEJBRequest

public EJBResponse sendEJBRequest(EJBRequest request)
                           throws RPCException
Sends a request comes to the remote side.
A response is done by the remote side and it sends back a response.

Specified by:
sendEJBRequest in interface ClientRPC
Parameters:
request - the EJB request.
Returns:
a response that have been processed by the server.
Throws:
RPCException - if the invocation fails.