Menu

How to run GWT Highcharts on server

Joe Kuan
2012-09-17
2012-09-20
  • Joe Kuan

    Joe Kuan - 2012-09-17

    Hi,

    Can someone tell me how it is possible to run GWT Highcharts (export into images) on the server without any browsers as reported in http://www.highcharts.com/component/content/article/2-news/42-highcharts-on-the-server?

    I thought GWT eventually compiled into JS code and still require browser to run the code. Am I missing something?

    Thanks
    Joe

     
  • Philippe Lhoste

    Philippe Lhoste - 2012-09-20

    You don't necessarily need a browser to run JS code...
    The idea is to have a good JavaScript interpreter on the server, eg. with Rhino (Java) or WebKit (some Qt renderers) which will produce the SVG code. Then you have another process, eg. Batik (Java) or still WebKit/Qt to render this SVG to a raster format.
    Notice that this process is completely independent of GWT, ie. you can use the Qt solutions if you wish. It is a kind of independent Web service.

     

Log in to post a comment.