Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A little confused on Page408, HFEJB  RSS feed

 
Steven Gao Song
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, everyone,

Head First EJB, on Page 408, it illustrates MovieLocal and MovieRemote
the local component interface and the remote component interface.
What made me confused is the MovieRemote interface also has the method
getDirector().

The type of a relationship field (Director) is local component interface!
Therefore, I think MovieRemote interface must NOT have the method
getDirector(). Am I right?

Thank you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!