This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

IBM 158 Problem

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! All,
Suppose we have 2 CMP entity beans like in Branch & Accounts relationship. Where do we set the navigable property?
a) The Navigable property on the Branch side of the relationship.
b) The Navigable property on the Account side of the relationship.
Where shud we use 1..* or 0..* multiplicity? In EJB 2.0 specs there is no mention of 1..*.
What I have understood is that 1..* makes the record mandatory and not optional? Plz explain.
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer should be "B" if there is only 1 correct answer. Normally you want get the Branch info for where the Account belong to. So we can navigate from account to branch.
You are correct about the multiplicity. But related information is not from EJB2.0, it is from EJB Association, which is an IBM extension for EJB1.1.
[ February 19, 2003: Message edited by: Dennis L Chen ]
 
I've never won anything before. Not even a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!