Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to communicate between servlets which are residing in two different servers

 
hafz Khan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Could any help me out with an example for communicating between servlets which are residing in two different servers.

Thanks in Advance,
Hfz
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your best bet would be to establish a web service.

If you don't want to do all that, simply post to the other servlet's URL.
 
hafz Khan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Sorry.. As I am new to the servlet programming.. could you please provide a simple example so that it would be really helpfull for me understand the concept.

Thank You,
Hfz.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
 
hafz Khan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You Bear Bibeault.
Will refer the link sent by you and if any doubts on that will get back to you for further clarification.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic