Siemens AC65 User Manual

Page of 123
Java User’s Guide
8 Over The Air Provisioning (OTAP)
63
s
wm_java_usersguide_v12
Page 55 of 123
2008-02-25
Confidential / Released
8
Over The Air Provisioning (OTAP)
8.1
Introduction to OTAP
OTA (Over The Air) Provisioning of Java Applications is a common practice in the Java world.
OTAP describes mechanisms to install, update and delete Java applications over the air. The
ME implements the Over The Air Application Provisioning as specified in the IMP-NG standard
(JSR228). 
The OTAP mechanism described in this document does not require any physical user interac-
tion with the device; it can be fully controlled over the air interface. Therefore it is suitable for
Java devices that are designed not to require any manual interaction such as vending
machines or electricity meters.
8.2
OTAP Overview
To use OTAP, the developer needs, apart from the device fitted with the Java enabled module,
an http server, which is accessible over a TCP/IP connection either over GPRS or CSD, and
an SMS sender, which can send Class1, PID $7d short messages. This is the PID reserved for
a module’s data download.
Figure 19:  OTAP Overview 
The Java Application Server (http Server) contains the .jar and the .jad file to be loaded on the
device. Access to these files can be protected by http basic authentication.
The OTAP Controller (SMS Sender) controls the OTAP operations. It sends SMs, with or with-
out additional parameters, to the devices that are to be operated. These devices then try to con-
tact the http server and download new application data from it. The OTAP Controller will not
get any response about the result of the operation. Optionally the server might get a result
response over http.
There are two types of OTAP operations:
Install/Update: A new JAR and JAD file are downloaded and installed.
Delete: A complete application (.jar, .jad, all application data and its directory) is deleted.