aspose file tools*
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
Author

Requirements question

Johan Vandevenne
Greenhorn

Joined: Jun 02, 2001
Posts: 8
Hello,
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 ?
Thnx
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Requirements question