Hi,
We need to generate PDF output files "on the fly" when a user submits a request via an http browser based request. The template for the PDF is predefined and is mostly static but the data depends on the users request.
We designed the module using an approach as below, the question is -
1. Is this the right and optimal approach considering maintainability of the template and size of the template as primary objectives.
2. Is there a better way to achieve this objective ?
3. Any suggestions to improve the performance of loading th output (currently it takes 10 secs to load it on a browser) and reduce the size of the template (file size is 650 mb)?
Apporach..
1. Analyst predefines the template using Adobe lifecycle designer 7.0 tool in XDP format and saves it in a particular template folder.
2. Based on the customers request via a browser, the java based application generates XML output in XDP format with the reference to the template.
3. So, when the response is sent tot he user back- they see a PDF output.
The challenge is to map the XML data tot he fields in the Template which is now done using the template mapping feature..however if we need to do this without Adobe forms/XDP would it be possible .. reason is the XDP form cannot be optimized for performance.. see point # 3 above.. it take 10 secs to load the output pDF.
Thanks
Sam