Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Sub-Process > Implementing Arbortext PE Applications > Sample Applications
  
Sample Applications
The Arbortext Publishing Engine install tree contains a number of sample Arbortext Publishing Engine applications available under PE_HOME\e3\samples. You can compile and run the Java sample, and you can install and run the other sample applications. Because Arbortext Publishing Engine ships with the sample applications enabled, you would make copies and change the class or function names of the samples to distinguish between the test applications you install and the versions that ship with the product. You would also need to add the class or function names to the allowed functions list in e3config.xml.
Additional samples are provided for ACL and JavaScript applications. You can copy the sample files from PE_HOME\e3\samples\acl or e3\samples\javascript to \custom\init and change the function names. You'll also need to add your functions to the allowed functions list to run the sample applications.
You can run Arbortext Publishing Engine sample test applications which return basic information about server configuration using links on the Arbortext Publishing Engine HTML web page. The source code for these sample applications is also available from e3\samples. The Arbortext Publishing Engine Testing HTML page is available using a URL like the following:
http://hostname:port/e3
Click on one of the programming language links under Test Arbortext Publishing Engine by choosing ACL, Java, JavaScript, or VBScript next to Run a test PE application. These samples report the request headers, Arbortext PE sub-process environment variables and (for Java only) JVM properties.