A framework to design component based software architectures is presented. The framework incorporates concepts from workflow management and object orientation. The notation for defining architectures is based on the Unified Modelling Language. For semantics we use coloured Petri nets with time.