Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Sub-Process > Writing Arbortext PE Applications in Java > Creating a Java Arbortext PE Application > The destroy Method
  
The destroy Method
The destroy method is called by the Arbortext PE sub-process before it terminates, allowing the Arbortext PE Application to remove files and free resources. No calls to doGet or doPost will be made after the Arbortext PE sub-process calls destroy.