• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

entity bean question?

 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is from Mikalai Zaikin's notes ...can somebody explains what exaclty this means....
An entity bean local interface type (or collection of such) CAN be the type of a cmr-field.An entity bean local interface type(or collection of a such) can not be the type of a cmp-field.
thanks
Pradeep
 
Mrudula Madiraju
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Entity beans have two types of fields - CMR and CMP.
A CMR - is a relationship field. For eg:- A CustomerEntityBean can have a AddressEntityBean.
Now this AddressEB should be accessible to the CustomerEB ONLY via the local interface. This makes sense since the address bean would be local to the customer bean.
To rephrase MZ's notes:-
A CMR's declared type has to be a local interface type.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic