• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI Naming.lookup(url)

 
Tony Bouer
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using Naming.lookup(url) every time your interface call a method at the server ? Or you are keeping the reference of stub ?

Thanks
Tony
 
Daniel Bryant
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tony,

I'm keeping a reference to the stub - I think that doing a lookup each time would be inefficient (and I can't really see any advantages for doing this?)

Best wishes,

Daniel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic