Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A little confused on Page408, HFEJB  RSS feed

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

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.
Hold that thought. Tiny ad:
Why should you try IntelliJ IDEA ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!