*
The moose likes Servlets and the fly likes How to communicate between servlets which are residing in two different servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to communicate between servlets which are residing in two different servers " Watch "How to communicate between servlets which are residing in two different servers " New topic
Author

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

hafz Khan
Greenhorn

Joined: Jul 04, 2010
Posts: 16
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

Joined: Jan 10, 2002
Posts: 60789
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
hafz Khan
Greenhorn

Joined: Jul 04, 2010
Posts: 16
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

Joined: Jan 10, 2002
Posts: 60789
    
  65

http://developers.sun.com/mobility/midp/ttips/HTTPPost/
hafz Khan
Greenhorn

Joined: Jul 04, 2010
Posts: 16
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to communicate between servlets which are residing in two different servers
 
Similar Threads
Communication between servlets
Share data between WAS and WPS
need script to compare directories in two different servers
how to communicate between 2 servlets which are present in two different web applications
Unable to access same database with two different application server