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
Arbortext PE 子进程 and passes the request to the
Arbortext PE 应用程序 Context (described in
The Arbortext PE 子进程 Application Context). The
Arbortext PE 应用程序 Context creates the request and response objects. Then, it directs the
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.