• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Methods in Data????

 
Peter Gates
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can I put more methods in Data class? I create an interface which has all the public methods of Data class. And I use Mediator pattern at client side. If I have a method say getOriginAirportNames() which will return an array of airport names, should I put this method/logic in Data class(hence at server side if remote) or put into my mediator class(hence always in client side)? What is the advantages and disadvantages? I am new to RMI and don't know how to figure out this one. Thanks for any help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic