On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

BIRT JBoss - Tomcat deployment

Mikey
Mikey Junior Member
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?
Tagged:

Comments