wood burning stoves 2.0*
The moose likes Servlets and the fly likes WebApplication in Distributed Environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "WebApplication in Distributed Environment" Watch "WebApplication in Distributed Environment" New topic
Author

WebApplication in Distributed Environment

Prabodh Reddy
Greenhorn

Joined: Dec 19, 2005
Posts: 14
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

Joined: Feb 07, 2004
Posts: 472

A session usually get replicated, the other two objects very rarely.


Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Prabodh Reddy
Greenhorn

Joined: Dec 19, 2005
Posts: 14
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

Joined: Aug 15, 2004
Posts: 2874
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebApplication in Distributed Environment