File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Requirements question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Requirements question" Watch "Requirements question" New topic

Requirements question

Johan Vandevenne

Joined: Jun 02, 2001
Posts: 8
There is a sentence in the requirements document which is a little bit unclear to me, could somebody explain this:
"The remote client code that you write must provide all the public methods of the suncertify.db.Data class."
Does this mean that your RMI Server class must have the same public methods as the Data class ? Or am I completely wrong here ?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Basically the "Adapter class" to the data class will have the exact same methods and signatures as the Data class. You will create an interface with those methods, and create two implementations of it. One for remote, and one for local.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Requirements question
It's not a secret anymore!