Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing remote object  RSS feed

 
prasad kulkarni
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried to access a RemoteObject from a different machine, I have to copy the stub class & remote interface to the client machine.
Is there any alternative, so that there will not a need to copy these files?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using Java 1.5+ - the stubs should be generated automatically.

You can set the codebase and have the stubs be downloaded dynamically from the server.

However, both of these just address the stub - you have to have the remote interface - otherwise, how does your client know what methods to call on the server?
[ July 12, 2006: Message edited by: Nathan Pruett ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!