• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about Navigable property

 
rick collette
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, this is from ICE:

A bank's branches and the accounts held within a branch are modeled as CMP Entity Beans with 1:M relationship, that is,
every branch has
multiple accounts maintained in it. It is important that the Account EJB exposes a getBranch() accessor. Assuming that
Application
Developer's EJB development tools are used to implement the relationship, what are the different attributes that need to be set?

Since the account side can use getBranch()to get a Baranch instance, the Navigable property on the Account side of the relationship should be set, right? But the answer is:The Navigable property on the Branch side of the relationship should be set. Is my understanding wrong? Pls clarify.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question has more to do with WSAD than J2EE. In WSAD you would mark the Branch Ejb as Navigable, meaning it can be navigated to.
[ December 08, 2002: Message edited by: Chris Mathews ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic