----- Original Message -----
From: Manish Bijay Kumar <[EMAIL PROTECTED]>
> I have a very basic question....How to get the reference of a stateful
> session bean from a stateless session bean??
The same way you got the reference to the stateless session bean. Create an
InitialContext and perform a lookup. The only twist is, the deployment
descriptor contains an <ejb-ref> field which specifies the name that the
stateless session bean will use to look up the bean. The deployer may wish
to change which bean this lookup actually will return, however you will
still use the name in the DD.
Bottom line, for every bean that your beans reference through JNDI, should
have a corresponding <ejb-ref> property in the DD.
jim
===========================================================================
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".