contents   index   previous   next



Unpacking ScriptEase:ISDK/Java

 

The distribution you received should first be installed on your system. The distribution consists of a zip file that can be unpacked anywhere on your system. Unpacking the distribution will produce a single directory tree containing the ScriptEase ISDK installation. This tree contains all of the files you will need to integrate the ScriptEase ISDK into your application. It also contains a number of sample ISDK applications. In this manual, we will often refer to filenames and directories. Those should be understood to be relative to the directory you installed ScriptEase into. For instance, if you install ScriptEase in the directory c:\se501 and we refer to the filename Samples\Sample\Sample0.java, then you should understand that to be referring to the file c:\se501\Samples\Sample/Sample0.java on your system.

 

The distribution contains several logical parts. In the Seisdk directory can be found the interpreter core jar (NombasJS.jar), the ScriptEase standard library jar (NombasLib.jar), and the ScriptEase regular expression jar (SERegexp.jar) The interpreter jar contains the code to execute scripts along with the ScriptEase API used to integrate the scripting engine into your Java application. The standard library jar contains the code for the standard ECMA function libraries, such as Math or RegExp. The regular expression jar contains classes which are needed by the libraries jar. The NombasLib.jar also contains the SELibraryManager class, which is used to make the standard libraries available to your scripts (The SELibraryManager class is discussed in detail in the Wrapper Functions chapter).

 

The next major part is the source code for the interpreter and the libraries. The source for the class files contained in the NombasJS.jar are located in the COM\Nombas\jse\Isdk and COM\Nombas\jse\utilities directories, while the source for the NombasLib.jar is located in the COM\Nombas\jse\libraries directory. If you are using an evaluation version of the ScriptEase ISDK, source code for the interpreter is not included; you use the pre built core jar we provide. (The source for the libraries is provided, however.) The source files found in these directories are not .java files, but instead are .jsrc files. The .jsrc files need to be translated into the corresponding .java files by the included Nombas preprocessor. More information regarding the preprocessor can be found in the following sections.

 


Sample applications