11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

webMathematica User Guide 289Mathematica InitializationThis section will briefly describe the initialization process for Mathematica kernels as they arelaunched by webMathematica and how it can be specially configured.Each Mathematica kernel is launched and initialized as follows.1. The Mathematica $Path is set so that code inside webMathematica can be loaded.2. The MSP application is loaded3. The security system is loaded4. The image system is set up5. The memory constraint parameters are set6. The logging, message, and print systems are set7. Kernel initialization code is evaluatedKernel initialization code is set with the KernelInitializeCode configuration parameter, whichis set in MSPConfiguration.xml. A sample setting follows.Needs[ "MyApplication`"];MyApplication`LaunchConnection[];The KernelInitializeCode setting is passed to the Mathematica kernel for evaluation as a laststep of initialization. It can contain extra commands for loading special packages.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!