Hi guys,
I have got a problem with one of examples in the book Mastering
EJB 3.0 4th edition. In chapter 4, the authors give an example of stateful Session Bean, the class of this bean has got those two functions (it has got more, but those are the two most important):
Later, authors configure the server, so in one time there could exists only 2 instance of the beans in the pool. Then, they write a client class and they are making three instance of this bean.
The output of the server is this (different functions in the session bean print different strings)
The author say that this is the proof that, one of the session beans passivated and then activated. I don`t see this proof. In my opinion, if this would happened, then one of the
string in the output would be like this:
But this not happened. So why the authors says that we can see here an example of passivation and activation of the sessionbean.
Thanks, and sorry if this is stupid question ^^