• 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?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!