Cep Terminals GSM/GPRS TERMINAL CT63 JAVA 6203 User Manual

Product codes
6203
Page of 109
Java User’s Guide
8 Over The Air Provisioning (OTAP)
54
wm_java_usersguide_v19
Page 45 of 109
2012-01-27
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 ma-
chines 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 21:  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 re-
sponse 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, its directory and up to 5 sub
directory levels with all their files) is deleted.