Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Methods in Data????

Peter Gates
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!