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 |
Life cycle methods in stateful session beans?
How Client will contact the Bean?
3 Answers Four soft, Tech Mahindra,
can u explain about design patterns like singleton,builder,factory
What are the benefits of ejb?
What is software architecture of ejb?
What’s new in the ejb 2.0 specification?
What is session bean in ejb?
How can I call one EJB from inside of another EJB?
Basic types of Enterprise JavaBeans?
How stateful session beans will maintain consistency, across transaction updates?
Can remove() be a Stateless Session bean?
What is the difference between message driven beans and stateless session beans?