Introduction.- Foundations of Context Management in Distributed and Dynamic Environments.- State of the Art.- Domain-based Context Management.- Usage Scenario.- Middleware for Context Management based on Context Domains.- Implementation and Evaluation.- Conclusions.