Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Comparison between JasperReports and iText/iTextpdf

I want to know pros and cons of JasperReports and iText/iTextpdf. Till now, I have been working on JasperReports but now thinking about shifting on iText. Should I change to iText or continue with JasperReports?

I know that for dynamic reports, we should use iText and for reports with static structure, we can use JasperReports and then create pdfs from them. But I still want to know more about both of these.

like image 874
Mital Pritmani Avatar asked Oct 06 '11 10:10

Mital Pritmani


2 Answers

Jasper is a PDF library using iText for the generation of its PDFs. iText is a library for creating and manipulating PDFs.

If your purpose is to generate reports, I would stick to Jasper. However, if you feel like you are going to generate more PDFs that aren't reports, you could take a look at the iText library.

iText has an amazing book published by Manning called iText in Action 2nd Edition, which covers iText5 if you want to learn more about it. Also check out the official website of iText at itextpdf.com

like image 54
J.Pip Avatar answered Oct 06 '22 00:10

J.Pip


JasperReports is a Business Intelligence / Reporting tool that uses an old iText version to create reports. It is distributed by JasperSoft / TIBCO. JasperReports only uses a limited part of the complete iText functionality. Creating PDF is just one of many features of JasperReports, and JasperSoft uses iText to implement that feature.


iText is a library that can be used by developers to enhance their web and other applications with PDF functionality: create PDF, fill out PDF forms, examine and manipulate existing PDFs.

Source:

  • http://developers.itextpdf.com/question/what-difference-between-itext-jasperreports-and-adobe-lc
  • https://stackoverflow.com/a/15537779/1793718
like image 42
Lucky Avatar answered Oct 05 '22 23:10

Lucky