Hey..I forget how..but I know you have to reference the 2nd ejb inside the
1st ejb descriptor. Look at some examples in the Orion dir, but if one ejb
uses another, it must say so in its ejb-ref descriptor.

On the other hand..I did this and still had a problem.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Edmund Cheung
> Sent: Thursday, November 23, 2000 8:54 AM
> To: Orion-Interest
> Subject: Do I miss anything ?
>
>
> Hi ,
>
>  I try to call the entity bean E1 (user) from the session bean S1 ( user
> manager) .  The deployment of S1 is OK but not OK for the E1. Buf
> if I deply
> E1 outsite the S1, it is OK. So, do I miss to define somthing in
> the web.xml
> file.
>
> Below is my ejb stuff in the web.xml file;
>
>       <ejb-ref>
>               <description>user manager</description>
>               <ejb-ref-name>ejb/UserManager</ejb-ref-name>
>               <ejb-ref-type>Session</ejb-ref-type>
>
> <home>framework.users.usermanagersession.UserManagerHome</home>
>
> <remote>framework.users.usermanagersession.UserManager</remote>
>       </ejb-ref>
>
>       <ejb-ref>
>               <description>user</description>
>               <ejb-ref-name>ejb/User</ejb-ref-name>
>               <ejb-ref-type>Entity</ejb-ref-type>
>               <home>framework.users.userentity.UserHome</home>
>               <remote>framework.users.userentity.User</remote>
>               <ejb-link>UserManager</ejb-link>
>       </ejb-ref>
>
>
> Thanks a lot,
>
> Edmund
>


Reply via email to