Hi !
First when you are developing your midlet you have to specify the URL from where the JAR file will be downloaded. You will find this by clicking the "Settings" option in the J2ME Wireless Toolkit 1.0.
Next you make a wml page with a link to the JAD file. Ofcourse you will have to upload the JAD and JAR files on some server. When the user clicks on the link, the JAD file is downloaded on the device. The Application Management Software examines/verifies the JAD file. If it is appropriate the JAR file is automatically downloaded to the device. Remember, you had already provided the link for the JAR file by using the settings option.
In order to server a JAD file from your web server its MIME types have to be added. This can be done by adding the following line:
text/vnd.sun.j2me.app-descriptor.jad
Just e-mail the tech support of your hosting provider and they will do it for you.
Apart from this, since you will be using WML pages so your server should be able to serve them as well. Again the MIME types for WAP/WMLpages have to be added. You have to contact tech support.
Be a bit careful in choosing your server/hosting provider. Tomcat3.0 does not server WML pages even if MIME types are added. I checked this on my
test server. So i had to upgrade to tomcat4.1. I also chose a hosting provider running Apache/Tomcat 4.1. I chose
tomcat since i'm using
java servlets.
More questions are welcomed.
Danish