Smart environments are subject to intensive academic and industrial research. Many of these research projects deal with challenges such as heterogeneity, personalization and context-awareness. However, most of them assume smart environments to be insular places. Considering users visiting different environments in daily life, this assumption becomes unrealistic. Mobile users wish to use personal functionality in their home environment as well as in other environments they visit in daily life. In this paper we describe different realization patterns to implement services for smart environments. The aim is to support personalization of services and mobility of the users. Depending on the application, different realization patterns are preferable. Furthermore, we describe how our prototype implementation supports the different patterns.