Witam,

mam taki kod wykorzystujący w bardzo prosty sposób RMI

remoteObjectInterface ro_object = new remoteObject();
LocateRegistry.createRegistry(registryPort);
UnicastRemoteObject.exportObject(ro_object);
Naming.rebind("//localhost:"+registryPort+"/myRemoteObject", ro_object);

w jaki sposób można wybrać po jakim protokole maja być przesyłane dane? (HTTP i TCP chociażby).

chodzi mi o coś takiego jak w c# mozna uzyskac za pomocą:

//HttpChannel hc_channel = new HttpChannel(5511);
TcpChannel tc_channel = new TcpChannel(5512);
ChannelServices.RegisterChannel(tc_channel, false);

pozdrawiam,
Alk