realization of project in Java