Tutorial for the Java Context Awareness Framework (JCAF)

This tutorial contains basic information on how to run and program JCAF version 1.5. The theoretical thoughts behind JCAF is described in the PERVASIVE 2005 paper [3]. More technical details of the design of JCAF is described in the technical report on JCAF [1]. Please read these documents as a background for this tutorial. JCAF has been used to implement different context-aware applications and architectures [5, 2, 4]. JCAF version 1.5 is build on Java 1.4. JCAF relies on Java RMI for its distribution. Therefore, knowlegde and programming experience in Java RMI is needed before using JCAF.

Under normal circumstances, the JCAF ContextService should be able to dynamically load new classes on runtime without restarting the service. This is part of the standard dynamic classloading in Java using the codebase property. For some unknown reason, however, I have not been able to make this work in connection with JCAF. Therefore, in order to deploy and load you own classes – like your own implementations of new kinds of entities and context items – you need to add these classes to the classpath of the Context Service. The most convinient way to do this is to make a jar file, place it in the deploy directory, and add this jar file to the classpath property in the startup script (ContextService or ContextService.bat) before restarting the context service. This is done by the jcaf.examples.jar file.

Get pdf download Tutorial for the Java Context Awareness Framework (JCAF)

VBScript Tutorial

VBScript Tutorial- VBScript is a script version of visual basic supported by Internet Explore 3.0 and above. VB Script code is interpreted as an script by the browser.
- VBScript uses Visual Basic terms, for example, declaring a variable, writing sub, or function in VB Script is similar to Visual Basic.
- But Visual Basic is programming language for applications; while VB Script is a small script version coded with HTML or ASP documents.
- With VB Script, you can make your web site dynamic and interactive.
- VBScript is particularly valuable when used with Microsoft Web servers to create Active Server Pages (ASP) - a technology that
allows a server-side script to create dynamic content that is sent to the client’s browser.
Read more

PHP Handout Vol. 3 PHP tutorial

PHP Handout Vol. 3  PHP tutorialBASICS OF PHP SCRIPT LANGUAGE
-Incorporate HTML and PHP in the same document
-Define and Access variables and Use constants
-Use operators to create expressions and data types
-Use the “if, switch, while, for” statements to make loops or execute alternative blocks of code.
-Define and call functions : statically, dynamically and anonymously
-Pass data to functions : by value and by reference
-Access data from and about Arrays
-Access and sort the data contained in arrays
-Format, Replace, Change, Find a Substring, within Strings
Read more

Simulation and scientific computing C++ Tutorial

Simulation and scientific computing C++ TutorialC++: A First Overview
Question: Is C++ an object-oriented language? No (at least not only). C++ should be seen as a federation of programming languages -> Multiparadigm programming language
Read more