cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: Cocoon2 + LATEX?
Date Fri, 16 Nov 2001 15:39:57 GMT
Skladov, Victor wrote:

> Hello, friends!
> Does anybody know whether Cocoon can work with such programms as LATEX?
> I create a TEX(LATEX) document from a XSP and a XSL and want to forward
> this output stream (TEX) further to a "pdflatex" programm, that in its
> turn makes from TEX doc a PDF file.
> Is this generally possible to call from Cocoon other programms?

The java.lang.Runtime object is used to handle such things.  However, there
are some caviats:

1) You have to have a full path to the tool.
2) You have to incur the startup and shutdown time for the tool to be executed
    outside the VM.
3) You severely limit your scalability by using this approach.
4) You must specifically grant the servlet container and Cocoon to have the
    security permissions to execute external programs
5) MOST IMPORTANTLY: if the outside program dies horridly and uncontrollably,
    it can kill the JVM!


"Those who would trade liberty for
  temporary security deserve neither"
                 - Benjamin Franklin

To unsubscribe, e-mail:
For additional commands, email:

View raw message