wood burning stoves 2.0
The moose likes Servlets and the fly likes servlet/JSP communication? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet/JSP communication?" Watch "servlet/JSP communication?" New topic

servlet/JSP communication?

Manas Ahlaad
Ranch Hand

Joined: Nov 07, 2001
Posts: 165
hi all
How do servlet/JSP communicate with each other on
different JVM's i.e different servletcontext.

Manas<br />Today If You are not Confused,You are just not thinking Clearly !<br />---------------------------------
Ragesh Menon

Joined: Jul 02, 2001
Posts: 6

Through Web Server's of coz.
Manas Ahlaad
Ranch Hand

Joined: Nov 07, 2001
Posts: 165
hi ragesh,
thanks for your answer
but i want the process that happens between two JVM's when they communicate or how does server act as mediator between two JVM's?
Subrahmanyam Allamaraju

Joined: Nov 01, 2001
Posts: 20

Use sessions if these are in a cluster (with session replication), or use database for sharing information.

Subrahmanyam Allamaraju<BR>Author of <A HREF="http://www.amazon.com/exec/obidos/ASIN/1861005377/ref=ase_electricporkchop/103-0514572-3811868" TARGET=_blank rel="nofollow">Professional Java Server Programming J2EE 1.3 Edition</A>
Consider Paul's rocket mass heater.
subject: servlet/JSP communication?
It's not a secret anymore!