Publishing Engine Programmer's Guide > Arbortext Publishing Engine Clients
  
Arbortext Publishing Engine Clients
Using Adapters with Arbortext Publishing Engine
There are several approaches for using an adapter with Arbortext Publishing Engine:
A content management repository may be an Arbortext Publishing Engine client. That is, it can ask Arbortext Publishing Engine to publish documents based upon workflow events. For instance, if you check in a new version of a document, the repository could ask Arbortext Publishing Engine to produce a PDF.
An Arbortext PE sub-process may use an adapter to retrieve information from a repository, or to store data directory into a repository.
The two previous approaches can work together. The repository might ask Arbortext Publishing Engine to produce a PDF and pass a POID, rather than a document. In such a case, the Arbortext PE sub-process would have to be connected to the repository to retrieve the document, publish it, and (possibly) store the result directly into the repository.
Implementing these approaches require custom code for Java, JavaScript, VBScript, or ACL. The f=convert function can accept a POID specifying the input file, but it doesn’t store a file to a repository object. It returns the document to the HTTP client (which could be the repository).