Howto get access to the information of the user of the current session [message #50760] |
Thu, 04 October 2007 13:51 |
Eclipse User |
|
|
|
Originally posted by: naraimund.criticalsoftware.com
Hi,
I am developing for an application that uses RAP for the client side and
uses EJB for the server side.
I need to know in the EJB's the name of the user of the current session of
RAP.
How can i do this?
RAP creates one thread per session?
|
|
|
Re: Howto get access to the information of the user of the current session [message #52146 is a reply to message #50760] |
Wed, 17 October 2007 06:38 |
Eclipse User |
|
|
|
Originally posted by: jkrause.innoopract.com
Hi,
Have a look at the class ContextProvider, it provides access to the
HttpServletRequest and the Session.
Jochen
Nuno Raimundo wrote:
> Hi,
>
> I am developing for an application that uses RAP for the client side and
> uses EJB for the server side.
>
> I need to know in the EJB's the name of the user of the current session of
> RAP.
>
> How can i do this?
> RAP creates one thread per session?
|
|
|
Re: Howto get access to the information of the user of the current session [message #52226 is a reply to message #50760] |
Wed, 17 October 2007 10:31 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
RAP doesn't create one thread per Session. How do you logon to the
application? So where do you the user's name expect to be? If you need the
HttpSession - this can be accessed by
RWT.getSessionStore().getHttpSession().
Ciao
Frank
"Nuno Raimundo" <naraimund@criticalsoftware.com> schrieb im Newsbeitrag
news:fe2r50$pc2$1@build.eclipse.org...
> Hi,
>
> I am developing for an application that uses RAP for the client side and
> uses EJB for the server side.
>
> I need to know in the EJB's the name of the user of the current session of
> RAP.
>
> How can i do this?
> RAP creates one thread per session?
|
|
|
Powered by
FUDForum. Page generated in 0.02773 seconds