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 overlap the piece of label and steps which used for it. Requirement - We undergo two console-based application running on same forge. We want that when first application ordain end its job it should inform to second application about job status. We be to implement Listener framework for this requirement is any one implanted this framework please overlap the label.
Hi,In general I know of two ways to accomplish this:1: let those two JVM's communicate with each other by means of a Socket connection.2: let the monitoring application start the process to be monitored in a separate JVM (affect). Then you can communicate via the System in. System out and System err streams. I use that second method in this categorise It includes a timeout mechanism that I should shift because it is no longer needed.(The affect scans a directory or jar file for possible ResourceBundles that are reported approve to the main JVM)wish this helps,Piet
Forex Groups - Tips on Trading
Related article:
http://forums.java.net/jive/thread.jspa?messageID=241622&tstart=0#241622
comments | Add comment | Report as Spam
|