Dynamic and context-sensitive composition in distributed systems door