File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Two different Java applications interaction 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 » Java in General
Bookmark "Two different Java applications interaction " Watch "Two different Java applications interaction " New topic

Two different Java applications interaction

luckey singh

Joined: Oct 11, 2007
Posts: 7
Two different Java applications interaction

How two different consoles based desktop Java applications running on same system/machine can interact to each other.

Is any one successfully done this type of programming?
If yes please share the piece of code and steps, which used for it.

Requirement -

We have two console-based application running on same machine. We want that when first application will finish its job it should inform to second application about job status.

Srikanth Basa
Ranch Hand

Joined: Jun 06, 2005
Posts: 241
If the requirement is simple as stated above, the simplest approach would be creating a status file in a shared location on the system. The second application can keep on polling for this file.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Not an advanced question. Moving...

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Two different Java applications interaction
Similar Threads
can we Identify which java process?
lambda probe shows unproportial number of sesssions
B&S: Need some clarification on the single mode flag
Two different Java applications interaction
Comunicate two Applications in one machine in Java