The
Arbortext PE Request Manager processes requests for
Arbortext Publishing Engine JavaScript applications by passing requests with the
f query parameter with the value
javascript to the request function
com.arbortext.e3.FunctionJavascript. The request function allocates an
Sous-processus Arbortext PE and passes the request to the
Application Arbortext PE Context (described in
The Sous-processus Arbortext PE Application Context). The
Application Arbortext PE Context creates the request and response objects. Then, it directs the
Sous-processus Arbortext PE JavaScript interpreter to evaluate the function specified in the
function parameter of the HTTP request. The function must be defined in a
.js file in a
custom\init directory or in a
.js file in
custom\scripts which is loaded from
custom\init. The returned value for the JavaScript function is ignored because the data must be transmitted to the client in the response object.