Our great sponsors
-
Open HTML to PDF
An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
iText
[DEPRECATED] Core Java Library + PDF/A, xtra and XML Worker. Only security fixes will be added — please use iText 7
-
gotenberg
A developer-friendly API for converting numerous document formats into PDF files, and more!
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I've used OpenHtmlToPdf for years. Combine this with something like Velocity for templating.
Are you looking for a way to render PDF's or produce them? If you want to produce PDF's, I've used https://pdfbox.apache.org/ successfully as well as https://itextpdf.com/ (potentially costs money).
Are you looking for a way to render PDF's or produce them? If you want to produce PDF's, I've used https://pdfbox.apache.org/ successfully as well as https://itextpdf.com/ (potentially costs money).
I thoroughly evaluated this some time ago for my open source invoicing tool (https://github.com/mzinsmeister/klubu). I ended up using headless chromium and selenium plus paged.js (which i injected into the html using selenium). There sadly is no open source java implementation of modern HTML and CSS standards.
I found a project that does exactly that (https://github.com/gotenberg/gotenberg). It’s my best bet for now, but I still need to test GraalVM integration with JS runtimes (and test JS libraries) and the Kotlin compiler targeting Node.