• Post Reply Bookmark Topic Watch Topic
  • New Topic

CMR and Local Interface

 
KasiMurugan Ramasamy
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Can anybody say, why CMR applicable to local interafaces. I mean if we want CMR, the target entity of a relationship must have a local interace. My question is cmr depends on only local interaface.


Thanks & Regards
Kasimurugan R.
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it must be a local interface because it is mandated by the EJB spec.
 
KasiMurugan Ramasamy
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Roger,

Yes, i agree with your point,But i want know the reason behind.

Regards
Kasimurugan R.
 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using local interface to ensure the optimal performance when accessing states between two entity bean instances. Using remote interface requires deep clone even if two instances are colocated on the same app server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!