This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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?
Similar Threads
Do you have elegant way of nullpointer exceptions
what is the different between jsp and sevlet
Session related Question
Head First Servlets & JSP book - Reader Question