Javafx Reporting Tool Solution
javafx, javafx-2
Solution
Jasper can produce report in PDF, XML, HTML, CSV, XLS, RTF, TXT. You can:
- put report in HTML and present it in WebView
- put report to XML, load it with JAXB and use that to populate TableView
- parse any format and populate TableView
- took data as Java objects and populate TableView
Problem
I have to recreate my swing desktop application to javafx2 desktop. But on swing I used Jasper report for reporting part. Place the jasper output to JFrame for displaying report on same frame. But unfortunately I can't find best solution for this option on Javafx2. So I make a temporary solution. That's on jasper part make output as pdf and view the pdf on javafx apps (jpedalfx pdf viewer solution). Its not a best because, time consuming.. Any other solution. I don't like Webview integration (http://localhost/myreport.jasper). Because its has additional apache server. is it right? Any feasible solution for javafx new comers.