• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebApplication in Distributed Environment

 
Prabodh Reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if web application is in Distributed Environment please explain the theoritical concepts in detail how the ServletContext,ServletConfig and Session are loaded?.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A session usually get replicated, the other two objects very rarely.
 
Prabodh Reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if session is replicated will it uses same session id in all the applications in distributed environment for example if it uses session id as 143 in one system will same applications uses the same "143" in other system.. please explain me in detail.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread might be helpful to you. Its about Servlet 2.5 specs.

Moreover, for how it shares session you need to read application server docs.
[ December 23, 2005: Message edited by: Adeel Ansari ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Adeel Ansari:
This thread might be helpful to you. Its about Servlet 2.5 specs.
Moreover, for how it shares session you need to read application server docs.
[ December 23, 2005: Message edited by: Adeel Ansari ]


Probably not, as the original poster's question has to do with the same context being distributed among multiple nodes in a cluster (as opposed to multiple contexts within one JVM/AppServer.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Prabodh Reddy:
if session is replicated will it uses same session id in all the applications in distributed environment for example if it uses session id as 143 in one system will same applications uses the same "143" in other system.. please explain me in detail.


Prabodh,
I think you'll find that you get more helpful answers on forums like Javaranch if you narrow your post down to a more specific question.
In this case, you've made a statement and then asked for a detailed explaination.
I don't think anyone wants to spend a lot of time figuring out what part of your statement you don't understand or explaining all there is to know about distributed computing in the hopes that they've answered your questions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic