• 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!