• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

EJB2.0 Specification Local entity bean

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
In EJB2.0 specification
chapter - 10 Entity Bean Component Contract for Container-Managed Persistence.
page no 192. second para.
In this para specification goes like this
Entity bean relationship are defined in terms of local interface of the related bean, and the view an entity bean presents to its related bean is defined by the local home and local interfaces.
Entity bean relationship are defined in terms of local interface of the related bean, and the view an entity bean presents to its related bean is defined by the local home and local Interfaces. Thus entity bean can be the target of a relationship from another entity bean only if it has a local interface.

My question is if relationship exist between only local beans then what about the Remote bean can we call local bean from remote bean.
Thanks in advance
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
You can call a local bean from a remote bean, but not define any relation between a local bean and remote bean.
The second you have quoted and your question is not entirely related.
So, you might wish to read a little on local bean and Container Managed Relationship (CMR) for entity bean.
Cheers.

Han Ming
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic