Pervasive computing environments are characterized by an additional heterogeneity compared to existing computing infrastructures. Devices ranging from small embedded systems to full-fledged computers are connected via spontaneously formed networks. In this paper we analyze requirements of applications and system software to cope with the dynamically changing execution environment. Based on our micro-broker-based middleware BASE a component framework for pervasive computing supporting application adaptation is proposed.