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 |
What is difference between ejb and spring?
Why serialization is used?
How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?
What is backing bean?
Which services are provided to ejb components by the ejb container?
How can enterprise javabeans be accessed from active server pages?
why object class is a parent of all classes in java?
What is Introspection ?
what is mean by com/Dcom ? Please answer me. Advance thanks.
What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?
Is it legal to have static initializer blocks in ejb?
Who took over ejb?