Statefull session bean's state
843829Feb 11 2004 — edited Feb 13 2004Hi dear all
I am using one stateful session bean in my application and using it into two Servlets OpenAction and EditDispatchAction of struts.
Initially i was creating that stateful session bean in both of them and expected to work properly but whenever i was called it second time it had losed its states (variable was became null in bean class)
Now i am putting its home reference into servlet session as session variable at one place and accessing at 2nd place by getting it from servlet's session variable (not using create of stateful here)
it just loses my concepts about stateful session beans. i don't know i was wrong or i am wrong now. this stateful bean works very well one i call it from one client.
waiting for your reply. Regards,
hammad