• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFEJB Final Exam Q-55

 
Gul Khan
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Have some confusion with the folowing Question.

Q- When Creating an entity bean using CMP, which can be accessed through the beans remote component interface?

Given answers are
business method and accessor methods of persistent fields.

Why the accessor methods for relationship fields cannot be accessed ???


Thanks
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CMR properties are defined using local component interfaces -- which means they're no good sent across the network, right? If you wanted, you could create another business method that wrapped up that information into a value object and then returned a collection of them.
 
Gul Khan
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah absolutely. Thanks for clearing that up.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic