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

Page 398 in HF EJB

 
Christer Hedstr�m
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On page 398 we have a remote home interface belonging to a discussion on CMR.
On page 386 it says:
"The only restriction is that a relationship field can be only a local component interface type! You can't have a CMR relationship field that uses a bean's Remote interface!"
The bean, MovieBean, on page 398 is clearly in relationship with another bean, DirectorBean, if you look at the DD on pages 394-395.
Am I losing it?!
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The <entity> element has a <local> element which contains the Director component interface. Therefore, Director can be a CMR field.
 
Christer Hedstr�m
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, yes in the DD it all seems ok but on the page 398 it's not the local home interface that's shown.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic