Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Requirements question

 
Johan Vandevenne
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic