This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Product and Other Certifications and the fly likes IBM 158 Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "IBM 158 Problem" Watch "IBM 158 Problem" New topic
Author

IBM 158 Problem

Sachin Kansal
Ranch Hand

Joined: Sep 18, 2002
Posts: 34
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.
Dennis L Chen
Ranch Hand

Joined: Nov 19, 2002
Posts: 41
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 ]

SCJP2<br />IBM Object-Oriented Analysis/Design & UML<br />IBM Certified Developer - XML and Related Technologies<br />IBM Test 483 J2EE Connectivity<br />IBM Certified Specialist - IBM WebSphere Application Server, Advanced Single Server Edition for Multiplatforms, V4.0
 
Consider Paul's rocket mass heater.
 
subject: IBM 158 Problem
 
Similar Threads
long post IBM.158
Question about Navigable property
Difference between Dependency and Association
WSAD access beans
passed 158 websphere