| Author |
Stateful Session Bean returns NULL value
|
Kevin P Smith
Ranch Hand
Joined: Feb 18, 2005
Posts: 362
|
|
Hi Wondering if you guys can help me, I have two Sevlets which make remote calls to a Stateful Session Bean to set/get a user's details. The problem is, when I run the GET methods it returns a value of 'null'. i am connecting to the Session bean using the following The only thing I can think of, is when I run the Servlet with the GET call in it, because it's doing the above, it's maybe creating an new instance of the bean. If so can anyone help me with a snippet example of how one Servlet can set values and another retieve them from a Stateful Session Bean? Please! KS [ December 18, 2007: Message edited by: Keith Seller ] Just for the record I worked it out! It's exactly the same as storing a standard Bean in a HttpSession! So daft! [ December 18, 2007: Message edited by: Keith Seller ]
|
 |
 |
|
|
subject: Stateful Session Bean returns NULL value
|
|
|