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 many ejb objects are created for a bean?
Define SessionContext ?
What do you mean by bean managed transaction?
What is an ejb platform?
What is an entity and its types?
Explain the concept of connection pooling feature of ejb container?
what is the Relationship between EJB and CORBA architecture?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
What is passivation and activation in ejb?
What is session bean?
What is the purpose of ejb in java?
Define EAR, WAR and JAR ?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What are the attributes of transaction in ejb?