The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: Track client session in a WS implemeted as an EJB

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Jun 30, 2009 5:19 AM by: metro@javadeskt...
razvan_petrescu

Posts: 1
Track client session in a WS implemeted as an EJB
Posted: Jun 29, 2009 4:25 AM
 
  Click to reply to this thread Reply

I was trying to implement WebService a stateless EJB, but I need to track client sessions, similar the way is it done in a servlet.

Is this possible ? since I've realized that the container doesn't set any session on HttpServletRequest object, and the HTTP response does not contain any JSESSIONID.

Of course, everything works fine if the WS is implemented a simple class running in the WebContainer, but forces me to use
an indirection, because I want to have the business implemented as EJBs.
Note: I am not asking about statefull EJBs, which can be addressed by some URL, that is something different.

Thank you.

metro@javadeskt...
Re: Track client session in a WS implemeted as an EJB
Posted: Jun 30, 2009 5:19 AM   in response to: razvan_petrescu
  Click to reply to this thread Reply

The Price for the J-R Calendar hasn't gone up since last year ..
but unfortunately, the cost of USPS priority postage sure has!
Please Note: given postal weight allowances for Priority Mail, we
can ship up-to 2 Calendars for the same $5.75 Postage & Handling.


Blackberry weather tracking
[Message sent by forum member 'shahzadteodor' (shahzadteodor)]

http://forums.java.net/jive/thread.jspa?messageID=353559

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net





 XML java.net RSS