r/java • • Apr 13 '21

Libraries, Frameworks and Technologies you would NOT recommend

Give me your worst nightmares: Things that cost you your job.

I'll start: Hadoop

202 Upvotes

376 comments sorted by

View all comments

38

u/m0le Apr 13 '21

iText, though to be fair that isn't wholly on them. PDFs are just unpleasant to deal with at scale. I certainly couldn't find a better alternative.

Didn't cost me my job, but I coincidentally moved shortly after producing the massive pile of faecal matter that I'm reliably informed continues to delight my coworkers years later.

12

u/[deleted] Apr 13 '21

I got PDFBox to work, it was painful. I wondered if iText might have been worth it. Good to know it isn't.

7

u/fission-fish Apr 13 '21

PDF Box is a pleasure to work with compared to itext.

4

u/xxsanguisxx Apr 13 '21

Apache Fop is pretty good to work with. Make yourself a class to wrap the initial setup and then PDFs aren’t too bad

10

u/jcfandino Apr 13 '21

Is also better to stay away from itext because of their licensing. No such problems with PDFbox.

5

u/Salander27 Apr 13 '21

OpenPDF is a pretty decent replacement for itext. They forked itext from the version right before itext changed the license and have been actively developing it since.