We are assisting to an important change in the healthcare domain where healthy citizens and patients are more and more in the center and become active partners in the entire process. In this scenario, smart and pervasive solutions assume a relevant role for remotely assisting citizens and patients together with their carers and supporting the overall team of professionals. From a software-engineering perspective, to follow and/or anticipate changes in requirements, modular solutions must be investigated and developed. Moreover, issues like personalization, adaptation, and scalability must be considered from the very beginning. In this chapter, we present xCARE, a microservices-based platform explicitly implemented to support the development of smart and pervasive healthcare systems. To show the potentiality and adaptability of xCARE, three relevant applications are presented: (i) a self-management system to support chronic complex patients
(ii) a patient management system that allows the team of professionals to assist patients before a major surgery together with a self-management system for the patients themselves
and (iii) an automatic self-management system for healthy citizens that want to follow healthier habits and that supports behavioral change.