Summary of the Contribution
Context awareness takes part of citizens’ day-to-day life. However, there is a limited amount of context-aware services that users can benefit from; there are still many of- fered services which are not context-aware. This need for being aware of what happens at every instant, requires a software infrastructure, not only for receiving the context information but also to make use of it to provide advantageous customized services. In parallel, the impressive evolution of the Internet of Things (IoT) over the last years has strongly favored the provision of a large amount of data that software applications can easily consume. Such data requires constant streaming processing for business decision-making. Technologies, such as Complex Event Processing (CEP), rise in order to provide such constant data processing in streaming. Additionally, currently the strategy for software development for citizens and other agents is mainly based on services, since Service Oriented Architectures (SOAs) are platform-independent and loosely coupled. Also, Representational State Transfer (REST) services have become very successful since they are light services which can be easily consumed by third-parties. Due to all these facts, in this paper we provided CARED-SOA to face this challenge. CARED-SOA is an Event-Driven SOA (ED-SOA) supported by an Enterprise Service Bus (ESB) which (1) facilitates the incorporation of data coming from devices con- nected to the IoT through several connectors and (2) facilitates communications among all involved agents. Besides, the architecture (3) provides real-time stream data processing through the integration of CEP technology and (4) offers REST services to the users, which will be context-aware. Besides, the paper also provides the implementation of a real-world case study, which permits the evaluation of the architecture.