aspose file tools*
The moose likes Tomcat and the fly likes How to call method of one tomcat from another. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to call method of one tomcat from another." Watch "How to call method of one tomcat from another." New topic
Author

How to call method of one tomcat from another.

kamal krishna bhatt
Ranch Hand

Joined: Apr 26, 2011
Posts: 41

Hi i am in a situation where i need to show data in my tomcat but data object is in another tomcat how can i get that object.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

You need to provide some sort of web service to retrieve them. Each tomcat runs in a separate JVM with no shared memory, so only some sort of network communication can share data.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to call method of one tomcat from another.