BIRT JBoss - Tomcat deployment

Options
Mikey
edited February 11, 2022 in Analytics #1
I am planning to write code on the back end / application server (JBoss) to get the report definition from the database, and run the report using the BIRT API <br />
<br />
The front end (Tomcat) will make a call to the back end to run a particular report passing in the report parameters.<br />
<br />
Tomcat and JBoss live on separate machines (I am not using the Tomcat that is bundled with JBoss)<br />
<br />
I can imagine writing code such as<br />
<br />
<strong class='bbc'>JBOSS</strong><br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
public byte[] runReport(Report report, ReportParams[] params,....)
{
....
}
</pre>
<br />
and <strong class='bbc'>Tomcat</strong><br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
public class ReportServlet extends HTTPServlet {
public void doGet(.......){
...... ....
response.getWriter().write(reportDelegate.runReport(.......));
}
}
</pre>
<br />
<br />
Now my question is, how does this work if the report's output format is HTML (ie, contains links to images & css) - I can get the report's HTML output from JBoss to Tomcat as a byte[], but how about the embedded images and css?

Comments