Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

small question

 
Duy Luong
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic