Jump to content
Changes to the Jaspersoft community edition download ×

How to use JasperReports without accessing to DDBB


Recommended Posts



I'm pretty new in Jasper...


Well... I have to use Jasper Reports to generate some charts.


I have seen that normally JasperReports access to database to feed the data.


But my scenario is absolutely different. In a JSP I already have all the data I need. So my question is, how to use this data to pass to the jasper library to create some charts.


any help? where I can find help to do that?


thanks folks!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic



If you only need charts, then maybe using a chart specialized library such as JFreeChart might be enough for you.

If you still think you need to go with JasperReports, then you should know that JasperReports needs a data source and you could either implement one, to wrap your in-memory data, or use a built-in implementation if your data is in the form of JavaBean collections or arrays.

Look into the /demo/samples/datasource sample provided with the project, to see more details about data sources.


I hope this helps.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...