> > One more thing, when the bean is passivated only the non-transient
> > variables are saved (probably to disk)?
> 
> Is it about entity beans? Entity beans are returned to the pool after 
> the passivation. Nothing is stored to the disc.
> 

What?!? How is that possible? Let me explain:

I defined a instance variable (my flag) which I set only when I process
a business method which by its turn sets the result value on another
instance variable. After the passivation of my bean, I execute again my
business method which verifies first the flag to see if the variable has
already the computation! And it works!! I mean, I verified by output
message that the variable was set, the result was also there.

So, the only chance I can see here is that the instance variables must
be saved in some place(disk, ...?). What is the pool for entity beans? 

regards,
Pedro Salazar.
-- 
-PS



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to