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

Transaction Attributes? What is the use of ?RequiresNew?

1 Answers   HCL,


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?

0 Answers  


what are the influence factors of ejbLoad() & ejbStore()?

1 Answers  


What happens when I change a value in the httpsession from inside an ejb?

0 Answers  


how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?

2 Answers   Infosys,


What is ejb bean in java?

0 Answers  


What are the attributes of transaction in ejb?

0 Answers  


in EJB diclare the static methods are not?

0 Answers   iGate,


What are stateless applications?

0 Answers  


How ejb invocation happens?

0 Answers  


An EJB client, can marshall an object of the class java.lang.Class to an EJB?

2 Answers  


What is the meaning of acid in the connection of transaction management?

0 Answers  


Categories