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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Distributed Java
Reply 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: 35241
    
    7
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.


Android appsImageJ pluginsJava web charts
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: 35241
    
    7
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: RMI is specification or implementation?
 
Similar Threads
B&S: How to add RemoteException capability to DB interface?
distributed computing
I thought my urlybird program is ready
Can rmi server and client be in one java process
RMI Registry location