hi, maybe it will be helpfull for you to use some sort of multi tiering on your server side. for example you can use a RMI connection between different servlets or other agents, localy on your server. I suggest this way if you are planning for a "big" web application. there is something else : so far you explained the situation in the chart, may be it would be possible for servlet1 to use servlet 2/3 as servlet1 is client. I mean, you can send servlet2/3 ordinary parameters with method post/get . and then retrieve their data and process them. maybe it's the easiest way for a "small" web application.
tnx Babak Vandad --- Halil AKINCI <[EMAIL PROTECTED]> wrote: > 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... __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
