Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Understanding the Internal Structure of Arbortext PE Request Manager > Arbortext PE sub-process Pool Management > Communicating with Arbortext PE sub-processes
  
Communicating with Arbortext PE sub-processes
When com.arbortext.e3.E3RequestContext.allocateE3Subprocess allocates an Arbortext PE sub-process, it returns a reference to an object that implements the com.arbortext.e3.E3Subprocess interface. This interface has three methods.
deallocate returns the Arbortext PE sub-process to its pool for allocation to another request.
executeCommand(String cmd) method passes the ACL command cmd to the Arbortext PE sub-process for execution by the ACL command interpreter. This method does not return a value, but it will throw an exception if execution fails.
evaluateFunction(String function) method passes the ACL expression function, to the Arbortext PE sub-process for evaluation. This method returns a string containing the result of the function. The function must include a function name (including package name, if appropriate), parentheses, and parameters, all expressed as strings.