Originally posted by NDP Prasad:
How do we communicate if our webapplications are distributed? I mean within the servlets?
I think for servletcontext, we can use Database to setAttribute..session also use the same concept to share accross jvms. Is there any other way?
The servlet doesn't need to do anything for distributed web apps, and in particular, no database is required. As long as everything that is stored in the session is serializable, session replication will be made to work by the servlet container automatically.