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 is the difference between Session bean and Entity bean?one?
Explain the important elements of ejb?
Is microservice stateless?
How can one EJB be called from within another EJB?
What are the limitations of using local object?
How many ejb objects are created for a bean?
What is enterprise javabeans (ejb) container?
How to increase ejb transaction timeout in weblogic?
Is ejb a framework?
Is ejbCreate() method mandatory while defining a Session Bean?
What is @injectmock?
Can remove() be a Stateless Session bean?
What is ejb and its properties?
Is having static initializer blocks legal in ejb?
What is an entity manager?