I want to know that how to run a MIDlet in an actual mobile device such as nokia 3310.plz if anyone know the procedure,kindly inform me.I really want to know this. Sun Certified Programmer for Java 2 Platform.
Point your WAP browser to a HTML file that contains link to your JAD file, If your server MIME types are set up correctly (Tomcat has the right MIME type for JAD/JAR out of box), your WAP browser will pass the control to the Java runtime on your phone and start the OTA installation process.
Just a note: the Nokia 3310 is an older model that doesn't support MIDlets (nor does Nokia 3330). If you want a low-end Nokia phone that supports MIDlets, try Nokia 3410, 3510i or 3530 (similar to 3510i but for Asian markets). None of the above support serial cables or infra-red, so you'll have to download MIDlets from a WAP site. It's easy to to make your Web server a WAP server too, as Michael explained. For more high-end phones, you can generally download MIDlets directly from a PC using a serial cable, infra-red or Bluetooth (depending on the phone model).