Your "user session" is best implemented as a stateful session bean that is created
on login and removed at logout.  The remote reference to it can be stored in the
HttpSession so that it can be accessed from all your servlets and JSPs.

Shiv Kumar wrote:

> Hi
>
> My applications requires the user to login to use it. The period between login
> and logout is called 'user session'. I am wondering if application servers
> provide
> any kind of session related information to the EJBs (much like a servlet has
> HttpSession).
>
> I dont think the spec itself define anything like that. It talks about
> authentication (which can be compared to login), but it does not talk about
> logout.
>
> Thanks.
> --
> shiv
>
begin:vcard
n:Wilson;Chip
tel;work:214-642-4559
x-mozilla-html:TRUE
org:Axys Solutions
adr:;;14001 North Dallas Pkwy;Dallas;TX;75240;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Director, Enterprise Java Practice
fn:Chip Wilson
end:vcard

Reply via email to