N
.:[NeMo]:.
Without know a class interface, how can I get "the class interface" ?
I think with reflection, but seem a dirty work (or not?).
With RMI the client an server have/know the same interface so the client
get the "code" from a codebase;
in my case instead the client it doesn't know the interface, only has a
reference to the class.
In particular I use javaspace:
server ---> JAVASPACE ----> client
the server/producer introduces an object in the javaspace,
the client/consumer saw a "new object" in the javaspace
and want get the interface of it....
only with reflection? Does exist a more clean way?
Javaspace implements a method to recover the interface of object?
I think with reflection, but seem a dirty work (or not?).
With RMI the client an server have/know the same interface so the client
get the "code" from a codebase;
in my case instead the client it doesn't know the interface, only has a
reference to the class.
In particular I use javaspace:
server ---> JAVASPACE ----> client
the server/producer introduces an object in the javaspace,
the client/consumer saw a "new object" in the javaspace
and want get the interface of it....
only with reflection? Does exist a more clean way?
Javaspace implements a method to recover the interface of object?