The MIDP 2.0 specification includes the document, "Over The Air User Initiated Provisioning Specification," which describes how MIDlet suites can be deployed over-the-air (OTA), and the functions that a device should provide to support such deployments. See http://java.sun.com/products/midp for the MIDP specification. For information on OTA provisioning in the Wireless Toolkit, see Chapter 2, “Developing and Running Applications.”
The MIDP implementation of the J2ME Wireless Toolkit’s default Emulator emulates the device behavior during the provisioning process. You can use this functionality to test and demonstrate the full provisioning process of MIDlet suites from the server to the device. This chapter explains the steps that are required to perform this process.
To deploy a packaged MIDP application remotely on a Web server:
The details of how to configure a Web server depend on the specific software used.
J2ME-enabled devices include an Application Management System (AMS) for downloading, installing, and configuring J2ME applications. The Emulator has an example AMS that you can use to demonstrate how a user would obtain and manage your application. The example AMS supports network delivery of applications, according to the recommended practice for MIDP (see “Over The Air User Initiated Specification” in the MIDP 2.0 specification for a description of recommended practices).
You can use the AMS in one of the following ways:
Select Programs -> J2ME Wireless Toolkit 2.1 -> OTA Provisioning.
At the command prompt, change to the {
j2mewtk.dir}\bin
directory and type emulator -Xjam
at the prompt.
For more information on performing single operations through the command line, see Appendix D, “Command Line Utilities.”
User's Guide Java™ 2 Platform, Micro Edition, Wireless Toolkit, Version 2.1 |
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.