Can anyone tell me what is multiplicity Many ? Is it (0,n) or (1,n) ? In relation to the exam questions, how should you consider the following : Custormer (1) <----> OrderBean (n) What does the (n0 stand for : (0,n) or (1,n) ? Thanks
Sorry Nathaniel , Is that in EJB or UML ? For instance a Java Programmer has 0 or n Sun Certifications !? Are you saying that if I put that in EJBs ProgrammerBean and CertificationBean, my multiplicity is wrong ?
Hi Raphael, Nathenial is talking about EJB. Entity Relationship cannot be 0 to 1 or 0 to many. It is a referential integerity (Primary key , Foreign key relationship) Where as in UML, It is common among Objects to have 0 to 1 etc.
SCJP,SCWCD,SCBCD,SCEA Part I
posted 16 years ago
Humm, Well, you know how when dealing with multiplicity, you can on each side of the relation(ship) specify the Mininum and Maximun for the multiplucity !? e.g : Programmer (0,n) <----> (0,n)Certification,so are you saying that in EJB, we only use the maximun for multiplicity ?, So the abose example would be : ProgrammerBean(n)<---->(n)CertificationBean - Many-to-Many - ?
Slime does not pay. Always keep your tiny ad dry.
Devious Experiments for a Truly Passive Greenhouse!