Thanks Ludek, After going through the documentations I have decided to go with offline approach.
Since this is going to be a web application facing public and I only have to present the PDF ( not the report) it's better to have the PDFs generated offline and produce to the users when ever requested for.
Thanks!