Re: need Help in reflect an RMI object



Man, don't try to use reflection on RMI objects, just create a getter
for the fields you want to retrieve and call the getter.

(you will need to add it in the interface:)
int getField() throws RemoteException;

RZR

fAnSKyer wrote:
I can call remote methods, but what I need is the values for the
variables? Can you tell me how to write a remote methods to get these
Variables? I doubt in this situation I have to use reflect?


Thanks a lot, FanS

.



Relevant Pages

  • Re: retrieving information up the stack
    ... object and retrieve an instance variable via a getter. ... StackTraceElement but don't know how I can retrieve the object to ... are running in all types of unrelated contexts. ... retrieve my logs only in the context of the "dailybulletinprocess". ...
    (comp.lang.java.programmer)
  • Re: retrieving information up the stack
    ... object and retrieve an instance variable via a getter. ... I can identify the caller through the ... StackTraceElement but don't know how I can retrieve the object to ... are running in all types of unrelated contexts. ...
    (comp.lang.java.programmer)
  • Re: retrieving information up the stack
    ... object and retrieve an instance variable via a getter. ... I can identify the caller through the ... StackTraceElement but don't know how I can retrieve the object to ... IDE's do this some how when debugging. ...
    (comp.lang.java.programmer)
  • retrieving information up the stack
    ... I have a need to traverse up the stack, access a particular calling ... object and retrieve an instance variable via a getter. ... StackTraceElement but don't know how I can retrieve the object to ...
    (comp.lang.java.programmer)