• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why server needs a DogTrainerStub? p.80 in the HFE

 
Hyung jun Moon
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At the page 80,
Why server needs a DogTrainerStub?
I think that Server needs Dog, DogTrainerInterface and DogTrainerImpl only.
The DogTrinerStub is made by Server but it is located at the Client only.

I Cant' understand T.T

Please describe that for me T.T


[ May 02, 2005: Message edited by: Hyung jun Moon ]
 
Arun
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct, the server does not need the stub. It generates it for the client. Though the books shows it as being on the server, I remember reading in one of the pages where it explicitly says something to the extent:" the stub is shown on the server side just because it was generated by the server and will be always be available there..though it is not really needed on the server"
 
Hyung jun Moon
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot~ i'm impressed by U~ ^^
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic