Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Head First Java -- a new, unreported errata Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Head First Java -- a new, unreported errata" Watch "Head First Java -- a new, unreported errata" New topic
Author

Head First Java -- a new, unreported errata

John Calson
Greenhorn

Joined: Jul 23, 2008
Posts: 5
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.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Since one can't really use an interface for much of anything other than specifying an implementation, I'd side with the book.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Head First Java -- a new, unreported errata
 
Similar Threads
RMI Problem
page 551 of the HF EJB
RMI Concepts
head first rmi error
Proxi-pattern and RMI question?