java. Simpler rest implementation, #305.