Sample for JavaEE7 Client API