how to set the relationship between tables in ejb
Answer / ch.n.v.ganesh
First, relationships are maintained through foreign
keys, but you do not define foreign keys as conventional
EJB variables; they are generated and maintained by the
container.
Second, relationships generate additional methods on the
local interfaces of the EJBs involved. Consequently, you
will need to work with the Home interfaces for beans
through JNDI, rather than using factory classes as you
might for accessing them through their Remote
interfaces.
Finally, Container Managed Relationship (cmr) fields
may be used in EJB QL queries, just like conventional
fields, but only for EJBs within the same jar file.
| Is This Answer Correct ? | 0 Yes | 0 No |
How ejb invocation happens?
What is ejb application?
What is stateless and stateful session bean in ejb?
What is Enterprise JavaBeans (EJB)?
Explain the difference between, Java Class and Bean?
How do you decide whether you should use session, entity or message driven bean?
What do you mean by ejb?
What do you mean by bean managed transaction?
Can an ejb send asynchronous notifications to its clients?
What is the TX operational difference between Session Bean and Entity Bean?
What is an entity and its types?
What is enterprise javabeans (ejb) container?