wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlets Scenario Question 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 "Servlets Scenario Question" Watch "Servlets Scenario Question" New topic
Author

Servlets Scenario Question

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
We have two Web Applications in an Application server and Servlet1 in web application1 wants to talk to servlet2 in webapplication2. How can this be achieved?

Can anyone tell me?

Thanks.


Be Humble... Be Nice.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

What does "talk to" mean in that context? Do you have a specific communication requirement? Or are you just fishing for ideas?
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
There's no specific requirement actually...Just wanted to know the possible ways it can be achieved.

Thanks.
Schandha Ravi
Ranch Hand

Joined: Oct 20, 2007
Posts: 167
There are so many threads available on this topic. You may want to search using the Keyword "Cross Context Communication". One way to accomplish this is using URLConnection.


Thanks & Regards, SK
SCJP 5.0, DB2 - 800, DB2 - 803, SCDJWS (On the way)
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Since the thing being "talked to" is a servlet, would it be fair to assume that the "talking" consists of sending a request to the servlet and receiving the response that it returns? Other scenarios don't really make sense for servlets.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Similar topic


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets Scenario Question
 
Similar Threads
Ear to Ear communication within the same domain inside the Weblogic server :
Find web application root path?
crating an executable jar file
how to pass session to different web pages
difference between web sever and application server