• 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!