This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes small question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "small question" Watch "small question" New topic

small question

Duy Luong

Joined: Jul 17, 2005
Posts: 6
which way should I use ? I want use rmi over http. I consider 2 ways

- turn on 1 rmi server which listenning on port 80


- write servlet which forward request to rmi server

Thank you
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Approach 1 isn't really "RMI over HTTP" - it's just an RMI name server running on port 80. The RMI calls are still just RMI calls using JRMP or IIOP - and there are more ports used in RMI than the port that the name server is running on.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Consider Paul's rocket mass heater.
subject: small question
Similar Threads
RMI from start to finish
why this exception?
HELP: some questions about RMI-IIOP
how to change fields of server using RMI from a client?
Question about JNI and RMI-IIOP