Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A little confused on Page408, HFEJB

 
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