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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15641
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call method of one tomcat from another.
 
Similar Threads
Tomcat breaking Sessions?
how to transfer data in a object to another class
serialization question
How to get another webapp's jndi object from local?
servlet to jsp