• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB2.0 Specification Local entity bean

 
sun moon
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • 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
 
HanMing Low
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!