Products » mBooster » Technical Support » mBooster Remote Access Client Documentation » Ch3-User Guide
mBooster Remote Access Client is a command line tool. It is a replacement for the mBooster component of the mBooster J2ME Optimization Suite.
The mBooster User Guide is available at chapter 3 of http://www.innaworks.com/mBooster-2-6-4-Doc.html. This mBooster Remote Access Client Supplementary User Guide specifies the differences between mBooster and mBooster Remote Access Client.
mBooster Remote Access Client provides this additional set of properties for the specification of remote access related behavior.
Function:
Specifies the IP address and the TCP port number of the mBooster Remote Access Server to connect to. The format is the IP address followed by a colon followed by the TCP port number.
Note: This property is compulsory
Example:
REMOTE.SERVER.URL=192.168.0.1:1198
Equivalent command-line parameter:
-DREMOTE.SERVER.URL
Function:
Specifies the case-sensitive user name to log in as, on the mBooster Remote Access Server.
Note: This property is compulsory
Example:
REMOTE.USERNAME=JohnSmith
Equivalent command-line parameter:
-DREMOTE.USERNAME
Function:
Specifies the case-sensitive password for the user account on the mBooster Remote Access Server.
Note: This property is compulsory
Example:
REMOTE.PASSWORD=mypassword
Equivalent command-line parameter:
-DREMOTE.PASSWORD
mBooster Remote Access Client is a command line application. mBooster Remote Access Client takes its execution parameters (properties) from three different sources, in the following order of precedence:
1. Command line options other than -D
2. Property override defined through -D command line option on the command line
3. Properties defined in the properties file as specified through -p option on the command line
java -jar mBoosterRemoteAccessClient.jar -DREMOTE.SERVER.URL=192.168.0.1:1129
-DREMOTE.USERNAME=JohnSmith -DREMOTE.PASSWORD=myPassword
-m -a Input.jar -r Input.jar -o Output.jar
-l "C:/wireless toolkit/lib/cldcapi11.jar;C:/wireless toolkit/lib/midpapi20.jar"
In this example, mBooster Remote Access Client would attempt to connect to the mBooster Remote Access Server at 192.168.0.1:1129 with the user name JohnSmith and password myPaswsord. It would take the input classfiles and resource files from Input.jar and output the optimized midlet to Output.jar. The Read Manifest Mode is turned on. The library JAR files are C:/wireless toolkit/lib/cldcapi11.jar and C:/wireless toolkit/lib/midpapi20.jar
.
java -jar mBoosterRemoteAccessClient.jar -m -a Input.jar -r Input.jar
-o Output.jar -p myprops.properties
In this second example, mBooster Remote Access Client is configured to read in the input classfiles and resource files from Input.jar and output the optimized midlet to Output.jar. The Read Manifest Mode is turned on. Additional properties are specified in myprops.properties. The mBooster Remote Access Server related properties REMOTE.SERVER.URL, REMOTE.USERNAME and REMOTE.PASSWORD must be specified within myprops.properties.