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 |
Why do we use @requestmapping?
What is applicationscoped?
What is ejb in java?
Explain the Sotware Architechture of EJB?
What is @injectmock?
How do you implement the Local Interfaces ?
What is ejb and its types?
Tell me difference between Container managed persistent bean & Bean managed persistent bean?
What are versions of ejb?
what is current EJB version?
Define Clone?
How bean-managed transactions will work?