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 ejb javatpoint?
explain why we say stateless beans does not maintain conversation state besides statefull maintains conversation state. give some examples...
Driver manager is a class/interface.
5 Answers Bally Technologies, College School Exams Tests, TCS,
What is an ejb context?
Why do we use @requestmapping?
What is bean-managed persistence?
Is udp stateless?
Enlist the contents of Container.
how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.
What is entity beans in ejb with example?
How do you decide whether you should use session, entity or message driven bean?
Explain the difference between, Java Class and Bean?