| Author |
Accessing remote object
|
prasad kulkarni
Ranch Hand
Joined: Mar 19, 2006
Posts: 66
|
|
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?
|
scjp, scwcd
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
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 ]
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
 |
|
|
subject: Accessing remote object
|
|
|