aspose file tools*
The moose likes Servlets and the fly likes Inter war communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Inter war communication" Watch "Inter war communication" New topic
Author

Inter war communication

sridhar lakka
Ranch Hand

Joined: Jan 02, 2007
Posts: 109
Hi All,
Thanks in advance.
I have two different application which are kept in two different war files and deployed, now I have to pass some value to other application i.e., one war should communicate with other.is it possible?
Please help me...
Regards,
Sree
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
How about an HTTP request? It could even return a value in its response.


Ping & DNS - my free Android networking tools app
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Side note: A war file is just a way to package an application for delivery.

What you're asking about is inter web application communication.
Anyway, this gets asked a lot here.
If you search this forum you'll find plenty of discussions on the subject.

The answer, in short is 'It depends on what you're trying to do'.

See if you can find an answer to your question by searching.
If you can't come back and describe exactly what you're trying to do.
Include details like the container you're using, whether or not the two apps are running in the same container or on different machines. Whether or not the two apps are sharing a database, etc..


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inter war communication