File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Question about Navigable property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Question about Navigable property " Watch "Question about Navigable property " New topic

Question about Navigable property

rick collette
Ranch Hand

Joined: Mar 22, 2002
Posts: 208
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
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

Joined: Jul 18, 2001
Posts: 2712
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 ]
I agree. Here's the link:
subject: Question about Navigable property
It's not a secret anymore!