Experiment 1: Testing Interprocess Communication

The purpose of the experiment: to test whether two java processes can communicate with each other

Experimental platform: JDK1.6, eclipse kepler

Experimental code: Baidu Space

Expected results: Class 1 creates static variables, class 2 accesses them, and should be able to access them.

actual results:

When class1 is running, run class2, and the result of running class2 is empty, which is not affected by the running of class1, which means that the two processes cannot simply communicate at least.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326754853&siteId=291194637