I would like to enforce this behavior on some of my CMP entity beans:

Entity Bean A's home's create() method can only be called from stateless
Session Bean S.
Entity Bean B's home's create() method can only be called from Entity Bean
A.
Entity Bean B's remote interface setter methods can only be called from
Entity Bean A.
Entity Bean B's getter methods are available to any Session Bean.

How do I do this? Will using the run-as mode help? How?

Charles May, Software Engineer
AFCO Credit/Mellon Financial Corp
email: mailto:[EMAIL PROTECTED]

The views expressed in this message are my own, and do not necessarily
represent the views of my employer.


*****************************************************************
DISCLAIMER:   The information contained in this e-mail may be confidential
and is intended solely for the use of the named addressee.  Access, copying
or re-use of the e-mail or any information contained therein by any other
person is not authorized.  If you are not the intended recipient please
notify us immediately by returning the e-mail to the originator.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to