File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "small question" Watch "small question" New topic
Author

small question

Duy Luong
Greenhorn

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

or

- write servlet which forward request to rmi server

Thank you
Nathan Pruett
Bartender

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: small question
 
Similar Threads
HELP: some questions about RMI-IIOP
RMI from start to finish
why this exception?
Question about JNI and RMI-IIOP
how to change fields of server using RMI from a client?