j2ee and rest development