I have Java application which can run in two differents modes e.g. mode A and mode B (mode is set by pass arg to app). I use my application in parallel in both modes. Now, I