• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two different Java applications interaction

 
luckey singh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not an advanced question. Moving...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic