Recent work in the field of middleware technology proposes semantic spaces as a tool for coping with the scalability, heterogeneity and dynamism issues arising in large scale distributed environments. Reflective middleware moreover offers answers to the needs for adaptivity and self-determination of systems in mobile and ubiquitous environments. Based on experiences with traditional middleware we argue that ontology-driven management is a major advancement for semantic spaces and provides the fundamental means for reflection. In this research we look at ontology-based metadata to turn semantic spaces into reflective middleware.1