Should Jini service interfaces extend Remote?

When you design an object whose methods you want to invoke from a different virtual machine via RMI, you must design an interface through which the client interacts with your object. Your object -- called a remote object -- should extend some subclass of java.rmi.server. RemoteObject, such as UnicastRemoteObject or Activatable.

Each interface through which clients will interact with your remote object should extend the tag interface java.rmi.Remote. The Remote interface identifies interfaces whose methods may be invoked from non-local virtual machines. Each method in an interface that extends Remote should declare java.rmi.

RemoteException in its throws clause. The checked RemoteException indicates that some problem occurred in fulfilling the remote method invocation request. When you design a Jini service interface, you define the way in which clients will talk to your Jini service.

Clients will receive some implementation of your interface from the lookup service. This object will ... more.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions