Re:Apache PDFBox – A Java PDF Library
by murkle on Monday March 21, 2016 @09:06AM
(#11327765)
Can it be compiled with GWT?
[ Parent
| on HN ]
PDFBox does not seem to depend on anything but the JDK (1.6) and commons-logging, so it might work if you manage to find a working and matching version of commons-logging for GWT, and if PDFBox only uses the JDK parts supported by GWT. That is a pretty big if though. I doubt someone bothered to port this to GWT, but who knows, you may be in luck.
If you are trying to generate PDFs in a web-application, I would delegate this task to the back-end.
It uses AWT (1) so no it won't work with GWT.
[1] https://github.com/apache/pdfbox/search?utf8=%E2%9C%93&q=awt