This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion 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: 16914
    
  26

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.
 
 
subject: How to call method of one tomcat from another.
 
It's not a secret anymore!