Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sun instructions???

 
Pallav Grigo
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic