title: Download an excel file generated from a query to the database
body: <p>I am looking for the possibility of creating an excel file from a query that a user may generate on our database, so that the user can download it.</p>
  
  <p>Currently we have results displaying to the GUI, but I am wondering what is the best way to create the excel file with the data returned. I'm using a MySQL DB, java JAxRS, JavaScript &amp; html5.</p>
  
  <p>Any suggestions are very welcome.</p>