RE: Enhancing FOP command line speed

2004-08-25 Thread Sonke Ruempler
Markus 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.

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 th

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. On

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 11:08:05

Re: Enhancing FOP command line speed

2004-08-09 Thread Nuno Lopes
> Nuno Lopes 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 starte

RE: Enhancing FOP command line speed

2004-08-09 Thread Sönke Ruempler
Nuno Lopes 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, t

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: run(); ?> You have a good tutorial here: http://xmlvortrag.bitflux.ch/ The support for Java is expected to be improved in PHP 5.1. But caution because FOP wast

RE: Enhancing FOP command line speed

2004-08-09 Thread Sonke Ruempler
Chris Bowditch 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

Re: Enhancing FOP command line speed

2004-08-09 Thread Chris Bowditch
Markus wrote: 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 fo-file

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 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 t

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 examples)

Enhancing FOP command line speed

2004-07-29 Thread Sönke Ruempler
Hi, Anyone knows how to speed up FOP from the command line? Atm I call the fop.sh from a PHP script to generate the PDF and so everytime the (slow ;) ) Java Runtime must be started. -- Sönke - To unsubscribe, e-mail: [EMAIL PR