Originally posted by: pari.gandhi.gmail.com
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
The front end (Tomcat) will make a call to the back end to run a
particular report passing in the report parameters.
Tomcat and JBoss live on separate machines (I am not using the Tomcat that
is bundled with JBoss)
I can imagine writing code such as
JBOSS
public byte[] runReport(Report report, ReportParams[] params,....)
{
....
}
and Tomcat
public class ReportServlet extends HTTPServlet {
public void doGet(.......){
...... ....
response.getWriter().write(reportDelegate.runReport(.......));
}
}
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?
Reply With Quote