You can set the properties of your project to automatically deploy your MIDlet
suite. You can use the Secure Client Protocol (SCP) or Secure File Transfer
Protocol (SFTP) deployment methods to establish a secure connection and encrypt
the data before passing the data between the client and 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 deploy a MIDlet suite using the SCP protocol:
Choose File > <active project name> Properties.
In the Project Properties dialog, select the Deploying node from the Category
tree.
Choose SCP 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 server's SCP connection port.
User Name: The name for the SCP login.
Choose between using password and key authentication.
Use Password Authentication. Enter a password that is
required when the MIDlet is deployed.
Use Key Authentication. Asks you to identify a key file
and passphrase that is required when the MIDlet is deployed. You create
and manage key files and their passwords in the MIDP
Project Properties: Signing page.
Right-click on the project and choose Deploy Project.