Thank you Musab Al-Rawi , you have right. I completely forgot 'that issue'. I figure out that each time I had created a new Bean in different servlets, but brain just stop working
Of course, i should store the statefull session bean into HttpSession, so I could monitoring that state of the same bean bound to particular user.
It's ok now, it really remember in its instance variable stuff I had consequently added.
First servlet create bean, retrieve name parameter, and store value into stateful bean instance.
Stateful bean I then store into HttpSession and redirect to
JSP
Than I populate JSp field and invoke second servlet inside what I have retrieved parameter value and stateful bean from HttpSession, and store second value into second instance variable of the same stateful bean.
I have repeat these steps, just to fulfill each instance of bean at various calls to ensure that they will be remembered after several JSP/Servlet invokation.
And the
test has passed successful.
After I had store the values from many requests into the same stateful (ejb) bean which I have retrieved all of them with a values I put into variables. So, thank you guys once again on memory refreshing