The C-Cube framework: developing autonomic applications through web services