Sajjad,
We've use the following software products to produce dynamic, web-based reports:
FDF Toolkit for JavaJFreechart The
FDF Toolkit is free and available from Adobe. We've used this software to dynamically populate pdf forms from a web environment. Basically, we have
servlets which accept data from any number of sources (html form, JavaBean, etc.) and populate the pdf form with the data. This works nicely since you can create multiple templates for your reports in pdf format, and simply call the appropriate servlet to handle the report. Since the final report is in pdf format, it can be viewed directly from the web, printed, or saved to the client's local machine.
JFreechart is a Java-based library which allows a developer to create dynamic charts and graphs (very easy to use). Once more, we've used this library in a web-based environment to display dynamic charts.
One additional product you may want to look at is
iText. I haven't tried this out yet, but I believe you can create pdf documents on the fly (using Servlet/Bean), and one nice feature is that you can incorporate images. So, you can use JFreechart to create the dynamic chart, then import the chart into a pdf.
[ April 16, 2004: Message edited by: Winston Smith ]