+

Search Tips   |   Advanced Search

Client property file for Enterprise Edition (Java EE) , Micro Edition (Java ME)

This file defines the properties that the native app for Enterprise Edition (Java EE) , Micro Edition (Java ME) requires to use the MobileFirst native API for Java ME.

The wlclient.properties client property file contains the necessary data to use the MobileFirst API for Java ME.

Define the properties of this client property file before using it in the native app for Java ME.

The following table lists the properties of the wlclient.properties file, their descriptions, and possible examples for their values.

Property Description Example values
wlServerProtocol The communication protocol with the MobileFirst Server. http or https
wlServerHost The host name of the MobileFirst Server. localhost
wlServerPort The port of the MobileFirst Server. 10080
wlServerContext The server context. /

If we use MPF Developer Edition, we must set the value of this property to the name of the project.

wlAppId The application ID, as defined in application-descriptor.xml. myApp
wlAppVersion The application version, as defined in application-descriptor.xml. 1.0
wlEnvironment This property defines the MobileFirst environment. The value of this property must be JavaMEnative. We must not modify the value of this property value. JavaMEnative
languagePreferences This property defines a list of preferred languages separated by comma, to be used by MPF to display system messages. en, fr, de, es


Parent topic: Develop native applications for Enterprise Edition (Java EE) , Micro Edition