title: Display console output in webapp
body: <p>I want to come up with a web application that does a maven build on a server and displays the build console output as it happening. I am looking for something similar to what is available in Hudson.</p>
  
  <p>I have read the solution given here : <a href="https://stackoverflow.com/questions/428901/need-to-execute-shell-script-from-webapp-and-display-console-output-in-page">Need to execute shell script from webapp and display console output in page</a></p>
  
  <p>Well, I can get run the script and get the entire output, but I want the UI to be updated as the build is happening. How can I accomplish this?</p>
  
  <p>Is this possible to do this using JSF and Jboss Richfaces components?</p>