try this article:

http://www.developer.com/java/web/article.php/3620661

Alternatively since you are using ejb anyways, you can create a stateful
session bean in your stateless session bean to control the session. The
trick is creating the stateful bean and then creating the id via its
EJBOBject, which is an interface that all EJB's implement.

HTH,
Robert

On 4/17/07, pat <[EMAIL PROTECTED]> wrote:

Hi,

Sorry for so stupid question, but I've searched for it without luck :-( Is
there a way how to access HTTP header and get/set HTTP cookies? I need to
setup the JSESSIONID to process the WS as stateful.

Customer wants this:
web app -> EJB stateless bean -> WS client -> WS server
The JSESSIONID should be stored in the web app.

Thanks a lot for the help.

     Pat

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to