1

I'm trying to plot the system CPU utilization in a JSP page.

I'm using JFreeChart library to do so, I have a problem,

The generation of the graph I've written in a Servlet and that generates an image, so on the JSP page it flickers and reloads the image.

Is there a better way to implement it as I want to see a continuous flowing graph and not an image?

NOTE: I'm using ajax call to the servlet.

3 Answers 3

1
  1. Java Applet

  2. Flash

  3. A Javascript plotting library maybe (such as this or this)

  4. Something else I haven't thought of

Sign up to request clarification or add additional context in comments.

1 Comment

like your style of answering. Applet, out of the question, Flash, not sure since the product would be running on Mac-Safari. Shall look @ the JS.
0

Another alternative is a Java Web Start application that queries the servlet for updates.

Comments

0

Are you opposed to delivering the chart as an applet, say as outlined here?

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.