This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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: 17271
    
    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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Requirements question
 
It's not a secret anymore!