tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <>
Subject Re: Urgent Requirement
Date Wed, 28 Apr 2004 16:55:20 GMT
I believe the features you're looking for are available on EJB containers. For example, weblogic
can manage a pool of connections and front end webservers can use that pool. 
when you say "can these two communicate" what exactly is the goal? Filip's recommendations
are good in general, but the learning curve may be steep if you've never use RMI or aren't
familiar with RPC.
based on what you said, it sounds like you have some objects that contain shared data. If
that is the case, make sure caching the data on both servers absolutely isn't an option before
using EJB's. If caching the objects locally is sufficient, it will save you the cost of learning
peter lin

Filip Hanik - Dev <> wrote:
several different ways, but this is not a tomcat related question

1. HTTP, set up a servlet/jsp on one server, and object on machine two can invoke the servlet,
then the servlet can invoke the
object on machine one.

2. RMI, read up on RMI

3. Straight TCP, but you probably dont want to do this :)

----- Original Message -----
From: "Deepak Vishwanathan" 
Sent: Wednesday, April 28, 2004 11:33 AM
Subject: Urgent Requirement

I have 2 machines. Both of them have Tomcat running. There is a java object in the first Tomcat
environment and a java object in the
second Tomcat environment(different machines). Can these 2 java objects communicate using
Tomcat framework?

Is there a way to configure this?

The second java object uses connection pooling capability of Tomcat.

Any early response will be highly appreciated.


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs

To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message