I found paper about tutorial in context aware programming using Java (JCAF 1.5) :

  1. Design, Implementation, and Evaluation of the Java Context Awareness Framework (JCAF)
  2. The Java Context Awareness Framework (JCAF)-A Service Infrastructure and Programming Framework for Context aware application
  3. Tutorial for the Java Context Awareness Framework (JCAF), version 1.5

In another hand, i discussed with Wan-rong about possibility tool for programming i should use. She suggest me to use JADE as framework and Jena API as API that can communicate java and ontology.