If an online document generation method (involving HTTP, JSP etc) is
undesired, there is a possibility to generate PDF documents from their XML
representations (so called DXL).
DXL is an adaptation of XML used to describe, in detail, the structure and
data contained in a Domino database. It describes data and design elements such
as views, forms, and documents and provides a basis for importing or exporting
XML representations of data to and from a Domino/Notes application.
Schematically a process of Notes document conversion to PDF can be seen like