Hello,

I would like to get an understanding what is the best practice with regard
to initializing instance variables in the bean class of an BMP Entity bean.
- ie. is it necessary before every ejbCreate() or ejbLoad() to initialize
the variables and collections that contain dependant objects.

The reason for the question is that with Weblogic, it seems as though that I
can get away with out any initialization. On iPlanet, I find that I get
dirty values and thus need to initialize the variable.

If we do need to need initialize, then what is the best way to deal with
dependant objects. Our thinking was that you could use the entity beans as
way to cache the dependant objects. ie. Load them to start with, but then
retrieved the object from the collection instead of going to the database
each time. However, if you have to initialize them, then how can you get
good performance with regard to the managing of dependant object.

Thanks in advance.
Tom


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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