inversion of control client-server in RESTful applications