RE: Enhancing FOP command line speed

2004-08-25 Thread Sonke Ruempler
Markus mailto:[EMAIL PROTECTED] wrote on Friday, August 13, 2004 6:19 PM: today i played around with tomcat and fop embedded in a servlet. looks promising. when i solve some small probs it could be a good way to go. the time to generate pdfs is much smaller than with fop on command line. Oh

Re: Enhancing FOP command line speed

2004-08-13 Thread Markus
Markus wrote: Jeremias Maerki wrote: Why not install Tomcat, deploy the FOP servlet [1] and then access FOP using HTTP GET requests? Should be simple using PHP. [1] http://xml.apache.org/fop/servlets.html I also remember someone having posted that he has written a web service around FOP. Look in

Re: Enhancing FOP command line speed

2004-08-11 Thread Markus
Jeremias Maerki wrote: Why not install Tomcat, deploy the FOP servlet [1] and then access FOP using HTTP GET requests? Should be simple using PHP. [1] http://xml.apache.org/fop/servlets.html I also remember someone having posted that he has written a web service around FOP. Look in the archives.

Re: Enhancing FOP command line speed

2004-08-09 Thread Chris Bowditch
Markus wrote: snip/ so we would like to see a very fast pdf generation. our environment is perl on linux. whicht tipps to speed up generation? so far it seems to make not much differnce wheter i call fop fop -xsl ticket.xsl -xml ticket.xml -c myconfig.xml -pdf ticket.pdf or first produce the

RE: Enhancing FOP command line speed

2004-08-09 Thread Sonke Ruempler
Chris Bowditch mailto:[EMAIL PROTECTED] wrote on Monday, August 09, 2004 10:53 AM: ticket. The way around this is to write a Java program which can receive requests via some mechanism, e.g. JMS Queues, watching disk files, database tables, etc etc. And then change your perl program to send a

Re: Enhancing FOP command line speed

2004-08-09 Thread Nuno Lopes
Maybe someone has written a small JAVA daemon yet? I would prefer this solution from my PHP scripts. You can call FOP from PHP: ? $pdf = output.pdf; $fo = input.fo; $options = array($fo,$pdf); $java = new Java(org.apache.fop.apps.CommandLine, $options); $java-run(); ? You have a good

RE: Enhancing FOP command line speed

2004-08-09 Thread Sönke Ruempler
Nuno Lopes mailto:[EMAIL PROTECTED] wrote on Monday, August 09, 2004 12:52 PM: $java = new Java(org.apache.fop.apps.CommandLine, $options); $java-run(); I know, but the PHP-JAVA extension in EXPERIMENTAL and unstable, addational it's not caching and the VM has to be started everytime, too. So

Re: Enhancing FOP command line speed

2004-08-09 Thread Jeremias Maerki
Why not install Tomcat, deploy the FOP servlet [1] and then access FOP using HTTP GET requests? Should be simple using PHP. [1] http://xml.apache.org/fop/servlets.html I also remember someone having posted that he has written a web service around FOP. Look in the archives. On 09.08.2004

Re: Enhancing FOP command line speed

2004-08-05 Thread Markus
Sonke Ruempler wrote: There is a PHP PEAR module (XML_fo2pdf) that utilizes the java engine and fop, but the JAVA extension of PHP is unstable and does no caching. I was thinking of a Deamon that processes the .fo file ... Once you find out how that can be done, I would then move away from a FOP

Re: Enhancing FOP command line speed

2004-07-29 Thread Glen Mazza
I would go to the PHP site/ML's/FAQ's, etc., and look at how to keep a Java application active in memory for your PHP calls. Once you find out how that can be done, I would then move away from a FOP command line to an FOP-embedded program (see http://xml.apache.org/fop/embedding.html for

RE: Enhancing FOP command line speed

2004-07-29 Thread Sonke Ruempler
Glen Mazza wrote: I would go to the PHP site/ML's/FAQ's, etc., and look at how to keep a Java application active in memory for your PHP calls. There is a PHP PEAR module (XML_fo2pdf) that utilizes the java engine and fop, but the JAVA extension of PHP is unstable and does no caching. I was