1 Introduction 22 Installing and Running JCAF 32.1 Deploying new Classes . . . . . . . . . . . . . . . . . . . . . . . . 43 Context Modelling 53.1 The Entity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.2 The Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.3 The contextChanged() method . . . . . . . . . . . . . . . . . . 74 The Context Service 84.1 Contacting a Context Service . . . . . . . . . . . . . . . . . . . . 84.2 Getting and Setting Context Information . . . . . . . . . . . . . 85 Context Clients 105.1 The AbstractContextClient class . . . . . . . . . . . . . . . . . 105.2 Context Monitors . . . . . . . . . . . . . . . . . . . . . . . . . . . 105.3 Context Actuators . . . . . . . . . . . . . . . . . . . . . . . . . . 125.4 Entity Listeners . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Security 147 Peer-to-Peer Context Services 157.1 Setting up P2P Context Services . . . . . . . . . . . . . . . . . . 157.2 Looking up Entities in a P2P Network . . . . . . . . . . . . . . . 158 Examples 171
[1]
Jakob E. Bardram,et al.
The AWARE architecture: supporting context-mediated social awareness in mobile cooperation
,
2004,
CSCW.
[2]
Jakob E. Bardram,et al.
Applications of context-aware computing in hospital work: examples and design principles
,
2004,
SAC '04.
[3]
Jakob E. Bardram,et al.
Context-Aware User Authentication - Supporting Proximity-Based Login in Pervasive Computing
,
2003,
UbiComp.
[4]
Jakob E. Bardram.
The Java Context Awareness Framework (JCAF) - A Service Infrastructure and Programming Framework for Context-Aware Applications
,
2005,
Pervasive.