REST implementation using apache cxf.