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 ejb javatpoint?

0 Answers  


explain why we say stateless beans does not maintain conversation state besides statefull maintains conversation state. give some examples...

2 Answers   HCL,


Driver manager is a class/interface.

5 Answers   Bally Technologies, College School Exams Tests, TCS,


What is an ejb context?

0 Answers  


Why do we use @requestmapping?

0 Answers  


What is bean-managed persistence?

0 Answers  


Is udp stateless?

0 Answers  


Enlist the contents of Container.

0 Answers  


how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.

3 Answers  


What is entity beans in ejb with example?

0 Answers  


How do you decide whether you should use session, entity or message driven bean?

0 Answers  


Explain the difference between, Java Class and Bean?

3 Answers  


Categories