Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javafx Reporting Tool Solution

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.

like image 721
ajeshbaby Avatar asked May 13 '12 14:05

ajeshbaby


1 Answers

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
like image 120
Sergey Grinev Avatar answered Oct 21 '22 09:10

Sergey Grinev