Li Gang Posted September 17, 2019 Share Posted September 17, 2019 We need to use Jasperreport to create daily reports.Per my intuition, it should be feasible if we have a Jasperreport server in place.In such a case, the report can get its data through the data source configuration. I am sure we can have a couple of options to run the report.However, our management team wants me to use Java and Jasperreport to finish the task.Is the management team's decision reasonable?Many thanks for your advice in advance.ps. I found the following code indicating how to add a data source to jasperreport from the Java application side.https://stackoverflow.com/questions/11517748/creating-passing-java-bean-datasource-in-jasperreportIt would be highly appreciated if anyone could share more information such as sample code in this regard.Li Link to comment Share on other sites More sharing options...
trvpseudo Posted September 17, 2019 Share Posted September 17, 2019 so u want to generate report form jasper daily?i think jasper can run jobs to generate report, i hvnt tried it tho.perhaps u could make a report with query that show the specified date everytime the report open and export it daily via jobs.if u by any chance able to do it, pls share here too, prob ill do the same in the near future :D Link to comment Share on other sites More sharing options...
Li Gang Posted September 17, 2019 Author Share Posted September 17, 2019 Thanks.I am currently viewing this solution.https://community.jaspersoft.com/wiki/working-javabeans-data-adapter-tibco-jaspersoft-studio Link to comment Share on other sites More sharing options...
swood_1 Posted September 18, 2019 Share Posted September 18, 2019 Have a look at the JasperReports samples. There are simple Java programs that connect to data and run reports. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now