I read in the FAQ that RMI works via ftp, http, or a file protocol. I've seen references to a link here on this BB that contains an http server if we'd like to
test it out. Also I've read that the client
thread id can be different for each client request if using the http implementation of RMI. If I download the http server, how should I modify my code to use it? Anyone have any links to some sample code?
Now for a (probably) stupid question: I've implemented my client and server using a URL - it's not preceeded by "http" so what protocol is this using:
My apologies for the formatting of this code - I can't get it formatted oorrectly here!
Here is my client code: "host name" is either "localhost" or an ip address.
try
{
String remoteDataObject = "//" + hostName + "//idataAccess";
remoteDataAccess = (IDataAccessNetwork) Naming.lookup(remoteDataObject);
}
Also, some of my colleagues say that RMI is going away - it's not being used anymore. Some say it's slow. Anyone have any take on this? Will knowing RMI do me any good??? Does RMI marshall data in a way that is specific to
Java only?
Thanks in advance,
Melinda