Apache PDFBox based REST services