As per this thread https://coderanch.com/t/683495/java/framework-build-tools
, I've started building my first java program for prod.
I'm using Maven to build it and the first step is to export all the images from a multi page tiff to a single pdf.
One of the biggest headscratches for me is to know what library to choose. If I use the suggestion from my first google hit it's possible I'll start to work on some deprecated library that noone else is using so I wanna try to pick them with care.
After getting the suggestion here in my other thread, and confirming with some googling, PDFBox is my choise for PDF-generation. When it comes to Tiff-processing, JAI looks promising, and I found some example code here: https://pdn.pega.com/community/product-support/question/multi-page-tiff-image-splitting-individual-jpeg-files
Are these libs alright?
And my second question - how do I go about making a single java file out of this that I can deploy rather than having loads of class-files in there (going to run this from cron every day).