7 If the client invokes a passivated bean, it is activated (brought back into memory from temporary storage).
8 If the client does not invoke a passivated bean instance for a period of time, it is destroyed.
9 If the client requests the removal of a bean instance, it is first activated if necessary and then destroyed.
So, if 7 happens, the bean is first activated - makes sense.
If 8 happens the bean is destroyed. But, is it activated first?
If 9 happens, what does "if necessary" mean?
7. is fine with you.
8. No (compare it with when in your web application session is expire, it invalidate the session)
9. process can remove something which does exist, so it brings back the bean. Second while removing there could be instructions to do (written in you code). (compare it with logout button, it invalidate & could give you good buy message or do more)
I am also new to
EJB, but hope this would be helpful.