Fido Alpha 3.2

fido.frontend
Interface FidoRemote

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface FidoRemote
extends javax.ejb.EJBObject

Remote inteface to the Fido EJB. The remote interface is the contract between the client and server. This interface defines all of the methods the client may invoke on the EJB. The FidoBean class implements this interface.

When the client obtains a handle to the Home interface of the EJB, and calls its create() method, a handle to this inteface is returned. The client calls this interface as if it were a local class. The client code automatically encodes the parameters, calls the server, and returns any values.

See Also:
FidoHome, FidoBean

Method Summary
 java.lang.String fidoString(java.lang.String user)
          Passes a natural language string from the client to the server which is running the Fido EJB.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

fidoString

public java.lang.String fidoString(java.lang.String user)
                            throws java.rmi.RemoteException
Passes a natural language string from the client to the server which is running the Fido EJB. The server will process the input string and return a reponse string in natural language.

Returns:
Natural language string containing the response from the server.
Throws:
java.rmi.RemoteException - Thrown when the client cannot contact the server.

Fido Alpha 3.2