• Post Reply Bookmark Topic Watch Topic
  • New Topic

Communication between two web applications

 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 web applications say One and Two. During initialization of One i.e in the ContextListener I need to call a method of a class that belongs to web app Two.

I know that I can get ServletContext of the other web applicaton but am not sure that getting only ServletContext of the other web application will help me.

How can this be achieved ?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a very frequently asked question. Have a look at the previous discussions for some ideas.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!