0

I have a requirement where I have to create a PDF files using datas from database. I found some similar questions like this in this site. Most of the answer suggest use of iText. But i have to do it using java code only without using iText and all. Is there anyway I can do it ?

Thanks in advance.

Mahesh Narayanan
  • 123
  • 5
  • 21

2 Answers2

0

so you planning for iTEXT2 ? you can do it same with many other utility for same but tricky hard way

Maqsud
  • 1
  • 1
0

You could use JPA to interact with the database and create objects that represent your data - after that you can use any API to create a PDF file/report: check Apache PDFBox or JasperReports

nuno
  • 1,771
  • 1
  • 19
  • 48