rest_with_java