M
Matthias
Hi there,
suppose you want to send a class via network to your final app. The
app will get an instance of this class and start working with it. So
far so good. BUT "working with it" means in reality to invoke methods
in such a way as
object.doSomething(withMe);
And that's my question: How (the hell) can one compile a program on
the client's side that doesn't have a clue of a class (because it's
beeing sended when runnig) and, furthermore, of objects coming from
these classes?
My current solution is to "pseudo implement" every method for the
client like
public retValue doSomething(inValue in) {
return null;
}
You cannot work with an object of this class, of course but the
compiler is happy to know the class/methods. I get a real instance
from the transmitted class using the newInstance()-method.
I don't think that implementing "pseudo methods" on the client's side
is the right way to do it - however, it's working.
Thanks for your response.
90210
suppose you want to send a class via network to your final app. The
app will get an instance of this class and start working with it. So
far so good. BUT "working with it" means in reality to invoke methods
in such a way as
object.doSomething(withMe);
And that's my question: How (the hell) can one compile a program on
the client's side that doesn't have a clue of a class (because it's
beeing sended when runnig) and, furthermore, of objects coming from
these classes?
My current solution is to "pseudo implement" every method for the
client like
public retValue doSomething(inValue in) {
return null;
}
You cannot work with an object of this class, of course but the
compiler is happy to know the class/methods. I get a real instance
from the transmitted class using the newInstance()-method.
I don't think that implementing "pseudo methods" on the client's side
is the right way to do it - however, it's working.
Thanks for your response.
90210