This forum has been archived. Please start a new discussion on GitHub.

hi, a problem of object proxy handle.

I've met a problem of object proxy handle.
interface resultset
int getInt();
double getDouble();
interface mydatabase
resultset executeQuery(string sql);
For example, I've implemented the interface mydatabase (class MySQLDB). And the executeQuery method returns a resultsetprx.
I know if I test the program with a client and a server, all will be OK!
But, I just want write an application with class "MySQLDB".
Can resultsetprx be used in a single program without communication between client and server?

Any of your help will be appreciated!!!

Sean Ho.


  • marc
    marc Florida
    Yes, proxies are location transparent, meaning that you can use a proxy to invoke on a collocated Ice object as well as on a remote Ice object.