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 many ejb objects are created for a bean?

960


Define SessionContext ?

1049


What do you mean by bean managed transaction?

1030


What is an ejb platform?

1043


What is an entity and its types?

1019


Explain the concept of connection pooling feature of ejb container?

946


what is the Relationship between EJB and CORBA architecture?

3853


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

972


What is passivation and activation in ejb?

935


What is session bean?

959


What is the purpose of ejb in java?

1053


Define EAR, WAR and JAR ?

998


Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?

998


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?

1045


What are the attributes of transaction in ejb?

944