Writing Data Client To connect with your server, you should create a client program. This implementation should include a class that implements the same public methods as the suncertify.db.Data class, although it will need different constructors to allow it to support the network configuration. I dont' understand what is meant that I should include a class with the same methods as the Data class..why can't i make calls through databaseInterface.method()..thank you.
Joined: Apr 08, 2002
In RMI, if you want to use a remote method of the server object, you must include the same databaseInterface in the client program as in server program.