How do I deploy an Applet based system to a Web Server? To put your Corvid expert system on the Web, you must have an .html file on the Web server that contains the Corvid applet. The Corvid editor creates a sample .html file for you with the applet call. You can use it or modify it or create your own. Move the files: Your_System.html, Your_System.cvR, Your_System.cvRu and the ExsysCorvid.jar file to a folder on the server. This should be in a directory that is located to allow the html file to be served via the browser. NOTE: You do NOT need to move the .CVD file to the server, and for security reasons should not put the CVD file on the server. The CVD file can be opened with a Corvid Editor and allows others to view and edit the logic in your system. The CVD is not required for running the system. Only put the CVR and CVRU files on the server. These cannot be opened with the Corvid Editor. You may need to move additional files to the server if you are doing the following:
The .cvRu file is your .cvR file uncompressed. It is needed for older browsers that cannot handle compressed files. Note: It is recommended that you do NOT put the .CVD file on the server because users will be able to download it and have full access to the logic of the system. If you will put all files in the same folder on the server, then you are done. If they are not in the same folder, you will need to modify the CODEBASE and KBBASE lines. These allow you put the 3 files in 3 folders. Why would you want to do that? When you have multiple expert systems that are not all in 1 folder. If you have multiple expert systems and they are not all in 1 folder, then you should have the .jar file in a single location otherwise a separate copy will be downloaded for each expert system. If you do so, then you must specify the CODEBASE for the .jar file. The CODEBASE would be the location of the .jar file and would look like this:
Notice it is only the path and does not include the /ExsysCorvid.jar at the end. You can also use a path from the server's root, such as "/path". You will need a KBBASE line if your .cvR file is not in the same directory as the .html file. It should contain the URL path of the .cvR file but not include the filename. For example, if your .html file is at this address:
and the .cvR file is in a subfolder called KB , then the KBBASE would be like this:
Notice that the above value ends in a "/" character. The .cvRu file must always be in the same folder as the .cvR file. It is used only by older browsers that do not support compressed files. |