Hi all,
i would like to know if i can use jasper connector to create a pdf document without connection database. It is not mandatory to complete the connection information in the connector. But when i try the connector without filling database information, I get an error about it (“db Driver has not been specified”).
Otherwise, do you know a simple solution (connector or a piece of Grovvy code) that enables to create a pdf document? I found nothing really conclusive in the forum.
thanks
jean-marie
I was going to ask, why use Jasper if not getting the data from a database, but then you ask for other solutions as well.
There are many ways to do this by the looks of things…just depends on what you want to do, see any/all of the following:
http://stackoverflow.com/questions/7355025/create-pdf-with-java
http://stackoverflow.com/questions/6118635/what-is-the-best-pdf-open-source-library-for-java
https://pdfbox.apache.org/
http://itextpdf.com/examples/iia.php?id=12
and finally this is a very good example of doing exactly what you are looking for,
http://www.vogella.com/tutorials/JavaPDF/article.html
You could use a simple Script Connector to do this
Best regards
Seán
Actually thanks for the question, though I hadn’t thought of it before, I now see wonderful opportunities.
regards
Hello Sean
Could you give me some help on how to configure the jasper connector in BonitaSoft? I created my * .jsxml file in jasper studio, I tested it there and it worked, but when I import to BonitaSoft it does not generate anything, I even took the example available here
But when I try to just put my * .jrxml, the generated PDF it exits blank.
If you have any tips I thank you very much
Romualdo Santos