Is RemoteServiceServlet stateful?

17 views
Skip to first unread message

Max

unread,
Oct 29, 2009, 11:38:00 PM10/29/09
to Google Web Toolkit
Hi all,

By my past experience we shall not store any status information in
servlet directly. But I still want to double confirm this case in
GWT.

Regards,
Max

Sripathi Krishnan

unread,
Oct 30, 2009, 12:21:47 AM10/30/09
to google-we...@googlegroups.com
It is stateless.

--Sri


2009/10/29 Max <theb...@gmail.com>

Parvez Shah

unread,
Oct 30, 2009, 12:38:17 AM10/30/09
to google-we...@googlegroups.com
as we all know there will only be one instance of servlet in your servlet container,  thus what ever state(instance variable) is there in the servlet will be available to all the client who makes request to the servlet. Thus guaranteeing you that state will be maintained. that is why we are taught not to have instance variable in our servlet. 
Reply all
Reply to author
Forward
0 new messages