vendredi 8 septembre 2017

Get initialized static object in runtime from another process in java

is it possible to do such a thing like to get some static data in one java process from another:

I have 2 java applications.

Application 1

public static String hello;

public static void string main(String[] args) {
  hello = "hello";
}

Application 2

public static void string main(String[] args) {
  String hello = someHowTakeInitializedHelloPropertyFromApplication1()
}





Aucun commentaire:

Enregistrer un commentaire