Answer Posted / 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 |
Post New Answer View All Answers
How does ejb work in java?
Explain the architectural relationship between JavaBeans and JTA?
What is entity bean in ejb?
How to invoke ejb from java client?
What are the types of enterprise bean?
Explain transaction and various methods to manage it?
What are versions of ejb?
What is ejb and its architecture?
How many ejb objects are created for a bean?
How does ejb container work?
Define ejb Create() and EjbPostCreate()?
What is activemq used for?
What are ejb containers?
Explain what is an EJB Context?
What is session facade in ejb?