Automatic Component Deployment in the Presence of Circular Dependencies