• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What's the difference between "rmi://localhost/engine" and "//localhost/engine"

 
Jesse Xie
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the difference between "rmi://localhost/engine" and "//localhost/engine" when I rebind a remote object into rmiregistry.
regards.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually looking at my code, I did not use "rmi://localhost" or "//localhost", I just had connectionFactory, no need to put localhost in there, since it is given.
But also thinking about it I started the Registry in code.
Only in lookup would you need the "rmi://" stuff
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic