Very nice! If other vendors are implementing this type of logic, please let us
(subscribers) know ...

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.
>
> Imre Kifor
> Valto Systems
>
> -----Original Message-----
> From: Sachin Aggarwal <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Tuesday, March 16, 1999 11:26 PM
> Subject: ejbCreate( ) - initialize instance variables
>
> >The spec mentions that ejbCreate( ) initializes instance variables.
> >
> >Question 1. Who's reponsibility is that in CMP beans ? The containers or
> the
> >bean developers?
> >
> >If the answer to above is Bean Developer, then:
> >Q2. If the instance variable is declared as public String county = "USA";
> >and the bean developer does not reinitialize it in ejbCreate(), then does
> >the container have the right to initialize it to unpredicatable values ?
> >
> >Thanks for your 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".
> >
> >
>
> ===========================================================================
> 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".



--
Richard Monson-Haefel
Senior Consultant
BORN Information Services

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