Host jad and cod files on Windows IIS

For those of you who have Blackberry devices you may have downloaded applications over-the-air (OTA). Blackberry devices uses a .jad file to download OTA apps by pointing its browser to that file. OTA apps actually consists of two file types .jad and .cod. The .cod files are actually the content of the application and the .jad files points to it.

If you plan to host your own OTA files on a Windows IIS server you’ll need to make some changes to your web server to process those .jad and .cod files.

You will need to access Internet Information Services and right-click on Web Sites and select properties. Select the HTTP Headers tab and click on MIME Types. Here you will add two MIME Types:

Extension: jad
MIME type: text/vnd.sun.j2me.app-descriptor

Extension: cod
MIME type: application/vnd.rim.cod

You may need to restart IIS once you’ve added the MIME types. Open the command prompt and type in “iisreset” (minus the quotes).