1) You may want to consider JBOSS or GLASSFISH (Which ever one supports
clustering better). This is the best done utilizing full blown J2EE
servers.  This is why JEE was created in a first place. 

Tomcat should be used by your front end tier. 

Good luck.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 17, 2008 12:00 AM
To: users
Subject: how to communicate between different tomcat servers


hi, all
I build a web application based on tomcat. In my design, I devide the
server side into several separate logic parts,and each part is deployed
on a separate Tomcat server. e.g. the first tomcat server is to process
login request, second tomcat server is to calculate user data, the third
tomcat server is to store all the user information. It is a distribute
architecure, and I hope in this way, this system can be extended by
adding tomcat server when the application load on one Tomcat server is
big enough.  For example, when the second tomcat server's calculation
work is too big, I can add a new Tomcat server to do calculation work,
so do the first Tomcat server for processing login, while in the system,
there is only one Tomcat server to store the total user information.
This architecture is widely used in the Client/Server mode application,
while I'm not sure whether in Browser/Server mode it can work. 
I think this requirment is different to the Tomcat cluster, because
Tomcat cluster can solve the load balance problem, while in my case, I
would like to keep some global data on one Tomcat server such as the
third tomcat server. So currently, I meet a problem of how to
communicate between the tomcat servers, I think http or webservice can
do this work simply, but the efficiency is not good, and I don't know
whether JMS is a good choice for this. I wonder if there is any other
way to communicate between the tomcat server? Can tomcat servers work in
such a distribute way?

Any help and suggestion will be welcome.

Thank you very much

Frank

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to