Two Laptop Bag
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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="" TARGET=_blank rel="nofollow">Professional Java Server Programming J2EE 1.3 Edition</A>
I agree. Here's the link:
subject: servlet/JSP communication?
It's not a secret anymore!