Service manager written in Java