Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

question about interfaces of CMP Entity Bean in CMR?  RSS feed

 
Robert Strong
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use Container Managed Relationship among several CMP Entity Beans, my question is that:

is it required to use Local Interface for these CMP Entity Beans participating in the relationships?
or
I might use both Local Interfaces and Remote Interfaces?

any help appreciated!!!
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must have a local component interfaces for each bean participating in a CMR. However, you can also supply a remote component interface if you want. You just can't put the CMR fields in your remote component interface (since they're defined with local component interfaces and you can't do local things remotely, of course).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!