jQuery in Action, 2nd edition*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes sun instructions??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "sun instructions???" Watch "sun instructions???" New topic

sun instructions???

Pallav Grigo

Joined: Mar 29, 2002
Posts: 29
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.
Simon Li

Joined: Apr 08, 2002
Posts: 8
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.
Pallav Grigo

Joined: Mar 29, 2002
Posts: 29
thanks a lot...
subject: sun instructions???
Similar Threads
clarify this pls
Data Client?
Remote client and Data client
Locking Requirements
a design confusion to clarify