I have designed very simple student.rptdesign file from Eclipse Luna SR2 IDE for Java and Report Developers
. It's Data Source is BIRT POJO Data Source
. It is working fine from there.
Now what I want to do now is generate same PDF file from Java class(without BIRT Eclipse). I searched lot of articles but they are mostly about 'JDBC datasource'.
Can anyone guide me how to do that ?
I think this is what you want:
Here is an example from the BIRT documentation on how to call the ReportEngine from a Java main method to generate a report from an existing .rptdesign
report.
There is also an example for pdf
output in it.