Mapa mental
RMI remote method invocation
Conteúdo do mapa
RMI remote method invocation
FIRST: define a remote interface
- this specifies the available methods
- extend java.rmi.Remote
- java.rmi.RemoteException
- extend java.rmi.Remote
- this specifies the available methods
SECOND: define a class that implements theinterface
- extend java.rmi.server.UnicatRemoteObject
- this class has a parameterless constructor
- constructor can throw a RemoteException
- this class has a parameterless constructor
- extend java.rmi.server.UnicatRemoteObject
THIRD: create the server application
- this requires an RMI registry
- remote object is exported
- this requires an RMI registry
RMI is a synchronous protocol
- sockets and streams allow asynchronous
- RMI unsuitable for data-intensive communication
- sockets and streams allow asynchronous
Informações
- Descrição
- Mapa Mental sobre RMI remote method invocation, criado por po_ em 26-08-2014.
- Criado por
- po_
- Visualizações
- 14
- Avaliação