You can set the properties of your project to automatically deploy your MIDlet
suite.
You can use the File Transfer Protocol (FTP) protocol method to move the JAR
and JAD files of a MIDlet suite over the Internet.to a specified location on
a remote server.
If you are setting the properties for a
other than the default configuration (DefaultConfiguration),
you must uncheck the Use Values from "DefaultConfiguration" checkbox
at the top of the page to customize these options.
To deploy a MIDlet suite using the FTP protocol:
Choose File > <active project name> Properties.
In the Project Properties dialog, select the Deploying node from the Category
tree.
Choose FTP from the Select Deployment Method drop-down menu.
Optionally, you can customize theURL for the JAR file by checking the Override
JAR URL in JAD and entering a custom value.
Enter the following information to specify the target location on the remote
server:
Server. Name or IP address of the target server.
Target Directory. Location on the server where the MIDlet
suite is to be sent.
Port. The FTP server's command port. Typically the server
uses port 21.
Separator. Defines whether the file location names separators
use a slash ("/" as in UNIX) or backslash ("\" as in
Windows/DOS systems) to separate directory names.
To use passive FTP transfer protocol, check the Passive Mode Transfer check
box.
Optionally, enter your user name and password. If you do not enter a name
and password here, you will be asked to enter the name and password when the
application is deployed.
Right-click on the project and choose Deploy Project.