Rickard wrote:

>Hey
>
>Imre Kifor wrote:
>> We believe that bean instances retrieved from the instance pool should
>> always be in their initial state (i.e. the state right after
construction)
>> regardless of the used persistence management type.
>>
>> This means that with Ejipt your 'country' member will be predictably set
to
>> "USA" upon entering ejbCreate, ejbFindXXX and ejbActivate. Moreover,
since
>> Ejipt resets all instances before returning them to the pool, you will
also
>> be assured that your possibly sensitive or very large member data is not
>> held by pooled instances.
>
>That is great, but I don't think this is required by the spec so as a
>bean developer you cannot rely on this to be done :-(

Yes, it also means that the pooled instance can't hold onto pooled
resources. It's a useful container behaviour certainly, but one that should
be a deployment option rather than mandatory.

Ian McCallion
CICS Business Unit
IBM Hursley
[EMAIL PROTECTED]
Tel: ++44-1962-818065
Fax: ++44-1962-818069

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