SESSION CONTEXT IN A GUI

Hi form please somebody explain to me how to maintain the session context in a pure gui env , for a j2ee hosted applicationwith regardskarthik
[184 byte] By [nskarthik_ka] at [2007-10-2 0:38:30]
# 1
? GUIs are usually single-user and don't need sessions."A pure GUI environment" and "J2EE hosted application" are also exclusive, You might think over your question again.
CeciNEstPasUnProgrammeura at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 2

Hi

Ok Let be more Specific on the problem.

I have a Application running on a j2ee container on System X,

If a piece of GUI Code is suppose to connect to the j2ee

Container to do the authentication process followed by many more tasks

How Will this be Achieved ?

Am I suppose to hold the Authentication Key of the more tasks

[ In case of j2ee /web based ,One usally uses session.setAttribute /session.getAttribute for multi tasks [

with regards

Karthik

nskarthik_ka at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 3
Hi FormAny Enlightining Ideas.....with regardsKarthik
nskarthik_ka at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 4
Forms are usually dumb. ;)
Annie.a at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 5
> Any Enlightining Ideas.....Still thinking. E.g. why the GUI is doing the authentication. Well it does have to prove a user ID. That'd be enough to identify a session.
CeciNEstPasUnProgrammeura at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 6
HiFormAny More Enlightining Ideas.....Plzwith regardsKarthik
nskarthik_ka at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 7
s/prove/provide
CeciNEstPasUnProgrammeura at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 8
> If a piece of GUI Code is suppose to connect to> to the j2ee > Container to do the authentication process followed> d by many more tasks> > How Will this be Achieved ?Stateful session bean?!?
Annie.a at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 9
> Hi> Form> > > Any More Enlightining Ideas.....> > > Plz> > > > > with regards> KarthikMost of us are in a dull form as the weekend nears. :)
Annie.a at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 10

Hi Form

> Any Enlightining Ideas.....

>>Still thinking. E.g. why the GUI is doing the authentication. Well it does have >> to prove a user ID. That'd be enough to identify a session

Ok after the UserId is authenticated , (? Session ?) on a pure GUI...

How about doing further tasks, Also How to uses this Session API in a

Pure GUI env...

Plz

with regards

Karthik

nskarthik_ka at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 11
The keyboard has a missing "u".
Annie.a at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 12
Why would you not use servlets to maintain the session?
souLTowera at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 13
I can give you the answer but first a question.Why do you want to do it this way? That is, why do you want to use ServletContext? Did someone suggest that you do authentication this way? Did you see a code snippet?
filestreama at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 14
Hi Form Why is the replies given to me in are more of stupid format,Does that mean J2EE is only limited to Web Layer presentation ,why cannot it have a pure GUI Client on the Presentation ?.Is the Form getting in wrong direction.With
nskarthik_ka at 2007-7-15 16:53:12 > top of Java-index,Java Essentials,Java Programming...
# 15
Hi Form Well Any more answers Plzwith regardsKarthik
nskarthik_ka at 2007-7-20 14:29:48 > top of Java-index,Java Essentials,Java Programming...
# 16
?
nskarthik_ka at 2007-7-20 14:29:48 > top of Java-index,Java Essentials,Java Programming...