Why server needs a DogTrainerStub? p.80 in the HFE
Hyung jun Moon
Joined: May 02, 2005
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 ]
Joined: Oct 03, 2003
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"