The title is a bit of a mouthful. Sorry. Before we begin, I present the caveat that this code should not be used on a production system. It launches a java runtime for every single request, which would cripple you. This would need (a) output caching, and (b) some sort of persistent FOP server process …
Continue reading “How to generate PDFs from XML using Apache FOP in Ruby on Rails”