Tuning Chart FX for Java Performance and Scalability

This section is geared toward developers using Chart FX for Java in their Web applications. The real issue in web application design is user experience; to make the application perform as a traditional desktop application when it is actually a distributed application that could be simultaneously servicing hundreds or even thousands of users. In the following paragraphs, you will learn how to fine-tune Chart FX for Java to improve your application's ability to accommodate a growing number of users and give each user a satisfactory level of responsiveness.

To understand how Chart FX for Java can impact server performance, consider that every time a .jsp page is accessed, the Chart FX for Java Server-Side Java bean will essentially create a chart in memory using a device context created on the server. This means hardware and software settings on your server will affect how quickly these charts can be created.

In general, Chart FX for Java performance will depend to a great extent on the chart format generation (Image, SVG, etc.) and the chart return mechanisms (getHtmlTag or getHtmlData) you choose in your java code. Also, when generating chart images, you should consider Chart FX for Java default property settings, image quality and chart size as major performance factors when the server is under heavy load.