Tuesday, May 1, 2012

Re: GWT applications session management

From what i understand he means something like this

public class CustomerServiceImpl extends RemoteServiceServlet
implements CustomerService {



public void authorize(String username, String password) {
// check the username and password
// if everything is OK ...

getThreadLocalRequest().getSession().setAttribute("username",username);

}

.....

}

or something like that !

On Apr 30, 4:14 pm, Harpreet Singh <harpreetsingh...@gmail.com> wrote:
> I am clear on most of it.
> Can you explain, "placing session objects on the Service implementation" a
> little more?
>
>
>
>
>
>
>
> On Mon, Apr 30, 2012 at 2:01 PM, Adio <fireball...@gmail.com> wrote:
> > Thanks for the reply.
>
> > On Apr 27, 7:10 pm, Joseph Lust <lifeofl...@gmail.com> wrote:
> > > See  https://www.google.com/search?q=google+web+toolit+overview
>
> > > Joe
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment