aspose file tools*
The moose likes Distributed Java and the fly likes RMI is specification or implementation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI is specification or implementation?" Watch "RMI is specification or implementation?" New topic
Author

RMI is specification or implementation?

Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
I'm a bit confused about RMI. The SDK comes with an implementation of RMI which I believe uses sockets. But are there other implementations of RMI, such as over https ?

thanks, D.
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

While exporting Remote objects (UnicastRemoteObject.exportObject()) you can specify a custom client and server socket factories.
I am not aware of any providers of the same.


apigee, a better way to API!
Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
That doesn't quite answer my question. If I rephrase,

Is it possible to do RMI over http?

thanks, D.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42595
    
  65
RMI can be used over various transports, JRMP and IIOP being the most common ones. These articles suggest that HTTP can also be used, but that it may not be all that obvious how to set it up.


Ping & DNS - my free Android networking tools app
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

RMI over http is nonsensical. RMI is a protocol. http is a protocol. http provides nothing RMI does not already have so that makes no sense.

You can do RMI with SSL however.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42595
    
  65
Tunnelling RMI over some other protocol may very well make sense. Getting through firewalls that only open port 80 is a typical application.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI is specification or implementation?