hi leonardo,
yes, the reference is of DataInterface type, the client dont know the implementation object..
look
package suncertify.server;
public final class ConnectionFactory_Stub
extends java.rmi.server.RemoteStub
implements suncertify.server.database.FactoryInterface, java.rmi.Remote
{
why my stub implements Remote two times !?
i have to take the remote interface and implementation in the same package ?!