Our proposed approach is based on runtime models and aspect oriented software development. Supports both anticipated and unanticipated dynamic reconfigurations. Provides a set of routines ensuring the dynamic reconfiguration using a defined middleware. Verifies the consistency of the system at runtime using a constraint evaluator. Evaluated through a known real world example Znn.com.