Have you considered using the Java API for XML Messaging (JAXM) ?  This might sound like quite an overkill, but you might want to consider the fact that , tomorrow, your application may grow to levels where a simple URLConnection based Server-To-Server communication model may no longer
make practical sense.

regards

Pramod Nair

----- Original Message -----
From: Halil AKINCI
To: [EMAIL PROTECTED]
Sent: Thursday, August 29, 2002 10:50 AM
Subject: Re: Servlet to Servlet communication


Hi,

Following diagram illustrate my application. In my application a client send his/her tax number to servlet1 by using a html form. Servlet1 forward this parameter (tax number) servlet2 and servlet3 which reside in different computer. Servlet2 and servlet3 will connect their databases (RDBMS_2 and RDBMS_3) , execute query (by using tax number that servlet1 send). Then servlet1 will receive responses from servlet2 and servlet3 and write them a jsp file using a JavaBean and send this jsp file back to client.

To achive this application, I want to communicate servlets. So, I will have developed distributed application using java servlet technology. But I don't know how can I do servlet to servlet communication. I need documentation and samples code.

Thanks...

Reply via email to