Arbotext Publishing Engine Programmer's Guide (《Arbortext Publishing Engine 程序员指南》) > The Arbortext Publishing Engine Sub-Process > Writing Arbortext PE 应用程序s in Java > Sample Java Arbortext PE 应用程序
  
Sample Java Arbortext PE 应用程序
Basic sample applications are included in the PE_HOME\e3\samples subdirectory, one each for Java, JavaScript,VBScript, and ACL. These samples applications reside on the Arbortext PE 服务器 and are loaded into an Arbortext PE 子进程 when it starts. The source code for the Java sample application is located in:
PE_HOME\e3\samples\java\com\arbortext\e3\testapp\E3AppTest.java
PE_HOME\e3\samples\java\com\arbortext\e3\testapp\E3Sample2.java
The E3AppTest sample is compiled internally when you test it from the Arbortext Publishing Engine index HTML page, so you don't need to compile it beforehand. The sample application reports information about the Arbortext Publishing Engine environment. Document manipulation, such as opening, closing, and changing content, is accomplished using the AOM DOM interfaces. For complete information about the Arbortext Publishing Engine Testing HTML page, see Monitoring and Reporting Using a Web Browser. For information on the AOM, refer to the Programmer's Reference.
For information on E3Sample2.java, see Sample Applications.