Hello !<br />
first of all, thanks for all the informations I found in this forum, very useful.<br />
<br />
I'm working on a web portal project and my job is integrating BIRT in a pdf generation service.<br />
<br />
The main technologies are:<br />
Liferay, Hibernate, Spring and Ice Faces.<br />
<br />
I already used a Pojo to do some tests and Birt work well.<br />
<br />
I preparead an rptDesing associated to an xsd,<br />
i inject the xml data stream in context and Birt enginge produced the pdf.<br />
<br />
All works but...<br />
<br />
My service must respect an interface that I can't change: (actual version, possible changes in the future)<br />
byte[] generatePdf(long id, byte[] xmlData, byte[] xsdData, byte[] rptDesign);<br />
<br />
Reading this post :<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/forum/deploying-integrating-birt-report-engine-applications/14367-xml-datasource-inputstream.html'>http://www.birt-exchange.org/forum/deploying-integrating-birt-report-engine-applications/14367-xml-datasource-inputstream.html</a><br />
<br />
and in particular this statement:<br />
<br />
Please note that it is a dangerous way to do things. BIRT does not natively support InputStream. It's a property of the XML driver.<br />
<br />
Please also note that BIRT will make a lot of calls to the input stream. You can expect to have only one call to get data, but no ! Depending on your report and the input stream you may have huge performance issues. Because it can be called many many many many times...<br />
<br />
<br />
gave me some questions...<br />
<br />
<br />
- Is a good idea to inject xml stream in context? Alternatives?<br />
<br />
- Can I inject xsd too?<br />
<br />
- if I generate more pdf's, I can change the xml data stream in the context without restarting the platform?<br />
<br />
- is a good idea to use BIRT with this constraints?<br />
<br />
- any one see problems for Spring integration?<br />
<br />
thanks for any help <br />
<br />
ruio