Java Static Variable In Methods Of Communication