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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.