permaculture playing cards*
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
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: 15952
    
  19

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.
 
Don't get me started about those stupid light bulbs.
 
subject: How to call method of one tomcat from another.
 
Similar Threads
Tomcat breaking Sessions?
servlet to jsp
serialization question
How to get another webapp's jndi object from local?
how to transfer data in a object to another class