Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to set the relationship between tables in ejb



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

Post New Answer

More EJB Interview Questions

What is dependency injection in ejb?

0 Answers  


What is ejb and its types?

0 Answers  


Differentiate Phantom from Un-repeatable?

0 Answers  


Can a client interact with an JavaBean directly? Explain?

1 Answers  


How can one EJB be called from within another EJB?

0 Answers  


What is the full form of ejb in java?

0 Answers  


Define ejb Create() and EjbPostCreate()?

0 Answers  


ejb session beans and entity beans?

1 Answers  


What is Enterprise JavaBeans Query Language (EJB QL)?

0 Answers  


What do you mean by timer service and where it is used?

0 Answers  


How can enterprise javabeans be accessed from active server pages?

0 Answers  


What does it mean to be stateless?

0 Answers  


Categories