Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call method of one tomcat from another.

 
kamal krishna bhatt
Ranch Hand
Posts: 41
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18154
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic