Hi,

Peter Delaney a �crit :

> Hello;
>
> I have a Stateful SessionBean called Bank, that clients applications talk to.
> The Bank SessionBean creates another Stateful SessionBean called Portfolio that
> contains information about the client.
>
> When my Bank SessionBean gets passivated by the container, how does it maintain
> its reference to the Porftolio SessionBean once it gets re-activated by the
> container?
>

It depends on your container implementation since EJB specs 1.1 don't tell how to
maintain EJB reference ( remote or home ) in the state. See EJB specs 1.1 �6.4.1
for more detail.

Benjamin

>
> I know how I would do this for EntityBean!  I would save its PrimaryKey and
> find on the home interface, but I am not sure for SessionBeans.
>
> Regards
> Peter
>
> ==============================================================
> Peter M. Delaney                Phone: (978)794-3366 ext. 341
> Object Technologist             Voice mail: (978)794-3366 ext. 341
> Semaphore                       Fax: (978)794-3427
> 800 Turnpike St.                Email: [EMAIL PROTECTED]
> North Andover, MA 01845         Web Site: http://www.sema4usa.com
> ==============================================================
>
> ===========================================================================
> 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".

===========================================================================
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