title: run an external process from jsf / glassfish
body: <p>This is a jsf 2.0 project on GlassFish 3.1.2, developed with Netbeans.</p>
  
  <p>In my business logic, I need to launch a perl application which returns a png or svg. This file will be displayed or presented as a file download in the UI (for which I will use primefaces).</p>
  
  <p><strong>Question: How can an external process like this perl script be launched from my jsf app?</strong></p>
  
  <p>(I have found a thread on this issue here: <a href="http://www.java.net/node/676943" rel="nofollow">http://www.java.net/node/676943</a> but the answer was too technical, I could not understand it)</p>
  
  <p>Thx!</p>