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
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
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.
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
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
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
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
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
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
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
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
11 matches
Mail list logo