Forums Register Login

Head First Java -- a new, unreported errata

+Pie Number of slices to send: Send
Head First Java Book 2nd Edition 2005
I have searched the errata for the book but did not find this

Page 620 (Chapter 18)

MyRemote service = (MyRemote) Naming...

Arrow pointing to MyRemote says:

"The client always uses the remote implementation as the type of service..."

In my opinion this should read:

"The client always uses the remote interface as the type of service..."

Change 'implementation' to 'interface'.

Do you agree. Is this an error in the book?
If not, please explain.
Thanks for your help.
+Pie Number of slices to send: Send
Since one can't really use an interface for much of anything other than specifying an implementation, I'd side with the book.
I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1179 times.
Similar Threads
page 551 of the HF EJB
head first rmi error
RMI Concepts
Proxi-pattern and RMI question?
RMI Problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:03:23.