I have developed a typical application that produce a .docx a this is transformed to .pdf. In development enviroment the performance is acceptable. About 10 secons. But when I have generated a .jar and move to deployment enviroment, the performance decreases and takes about 3 minutes. A execute a via .bat like this "java -Xms512m -Xmx2048m -Djava.util.logging.config.file=D:\temp\factures\config\logging.properties -jar D:\temp\factures\PDFInvoice.jar %1"
The development environment is eclipse mars 2, my jre is 1.8 and all run in windows 10. The docx4j is 4.3.3 and docx4j-export-fo is 3.3.1.
Any idea or solution?
Which is the best way to deployment this kind of application/service that generate a .pdf from .docx merging via docx4j?
Thanks in advance.