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

Package structure

 
Marre Mask
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to have two packages 'client' and 'server' in a RMI solution for the SJCD assignment. What's the rigth place to put the Remote interface? The 'client' or the 'server' package?
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Marre Mask:
If you want to have two packages 'client' and 'server' in a RMI solution for the SJCD assignment. What's the rigth place to put the Remote interface? The 'client' or the 'server' package?

The server, as it is the server exporting the API. Looking at it from another angle, remember that the instructions tell you that your company considers re-using the database functionality. There will be more than one client and they can't all have a copy of your remote interface.
- Peter
 
Daniela Ch
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not in the db package?
i am lost, i keep on switching this (*"!&2! file from one package to another
/Daniela
 
Rajesh So
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean that client should not even have the server stub? In that case, how could client reach teh server?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic