• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design solution

 
venusand
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Java Gurus,
I have come out with a tentaive design and I need your advise on this. I am planning to use RMI. Basically I have a commonInterface that has defination of all the public methods of Data class with the Remote exception thrown. For the Remote server side I have a class remotedatabase that extends given data class and implements common interface. I have FBN server to host the remote service. For the local mode I have data class implementing commonInterface and I have a clinet that instantiates either local or remote depending on the user input. Here the reference is to interface, so I should be able to refer to Data or Remotedatabase and call any menthod. Please advise if this design is ok or has any flaws. Thanks a lot.
Venu
 
venusand
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your feed back is appriciated.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic