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

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


Please Help Members By Posting Answers For Below Questions

How does ejb work in java?

1049


Explain the architectural relationship between JavaBeans and JTA?

3121


What is entity bean in ejb?

1180


How to invoke ejb from java client?

1030


What are the types of enterprise bean?

1042


Explain transaction and various methods to manage it?

1009


What are versions of ejb?

1114


What is ejb and its architecture?

1023


How many ejb objects are created for a bean?

1028


How does ejb container work?

1011


Define ejb Create() and EjbPostCreate()?

1223


What is activemq used for?

999


What are ejb containers?

1081


Explain what is an EJB Context?

1108


What is session facade in ejb?

1074