Active Web Script Compiling

The Active Web servlet will normally read your scripts and interpret the code within them to deliver web pages. To do this it converts the text you have written to a binary file and executes the file. This is called compiling. The Active Web servlet comes with a tool that lets you compile your scripts before they are used. This speeds up the delivery of pages and means that the scripts cannot be read or changed, thus providing greater security for your application.

The compiled scripts have an extension of '.obf' and when the Active Web servlet wants to execute a script it first checks for a compiled version of the script and if one is found that is executed instead of the plain script. This does mean that if you are making changes to the scripts then you must remove any compiled versions or your changes will not be executed.

Comment on this topic

Topic ID: 150007