There are commercial PDF generating libraries, such as BFO and ElegantJ. If you need open source, there is PDFBox, but I don't know if it is production ready.
2.1m questions
2.1m answers
60 comments
56.9k users