Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Statefull session bean's state

843829Feb 11 2004 — edited Feb 13 2004
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2004
Added on Feb 11 2004
3 comments
144 views