Stateful Session Bean returns NULL value

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 ]

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com