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
What are the attributes of transaction in ejb?
Where is ejb used?
What are the types of ejb?
How can a CORBA object, accessed from a EJB?
Define ejb Create() and EjbPostCreate()?
What are stateless applications?
Which is the only method defined in the javax.ejb.handle interface?
What are the differences between ejb 3.0 and ejb 2.0?
How to invoke ejb from java client?
What is the difference between @requestparam and @pathvariable?
can we stop the execution of a method before completion?
why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface
What is ejb and why it is used?
Name the acid properties of a transaction.
What is remote interface in ejb?