Birt Engine Embeded in Swing Application on JWS

fonzy44
edited February 11, 2022 in Analytics #1
<p>Hi,</p>
<p> </p>
<p>Sorry if it was already asked but my searchs doesn't bring back any thread that answer to my questions.</p>
<p> </p>
<p>I would like to generate some reports with parameters using Birt on a Swing java application deployed with Java Web Start.</p>
<p>The problems are:</p>
<p>- I can't (and would'nt) install the Birt engine on each computer</p>
<p>- I can't use any server (birt viewer or other).</p>
<p>- My users doesn't have Birt installed on their computer.</p>
<p> </p>
<p>Is it possible to configure my application to use the birt engine which will be deployed using JWS or more clearly, is it possible to embed Birt Engine in a completely standalone swing java application and make this application generate reports in Excel and PDF ?</p>
<p> </p>
<p>Once generated the user can open itself the report using Excel or Acrobat reader, so I don't need a viewer, just the engine to generate reports.</p>
<p> </p>
<p>Is there a simple java project (example) to show which JAR file should I need to run from JWS and how to configure my project to use the embeded Runtime Engine ?</p>
<p> </p>
<p>I don't find any information or tutorial about making this kind of configuration.</p>
<p> </p>
<p>Thanks</p>

Comments

  • fonzy44
    edited November 29, 2016 #3
    <p>Unfortunately, no !</p>
    <p>This is approximately the same example I find everywhere in which I should define the path where Birt was installed, but in my case I would not like to install BIRT, I would like to embed it inside my Swing application.</p>
    <p> </p>
    <p>May be should I ask:</p>
    <p>Which library from ReportEngine should I put in a java swing project to ONLY generate report (not to view it) and WITHOUT installing Birt or BirtEngine, and WITHOUT using Birt in a WebServer (Tomcat).</p>
    <p> </p>
    <p>I would like my application totaly independant from any Birt installation or any Birt Server so I will include all libs from Birt which are needed in my project but only what I need to keep the project a small as possible.</p>
    <p>Is it impossible to do it ?</p>
    <p>Should I absolutely install Birt on each computer or use a webServer ?</p>
    <p> </p>
    <p>For the moment I only need to generate Excel (xls, xlsx), Calc (ods) and PDF files.</p>
    <p> </p>
    <p>Thank's a lot for your answers.</p>
    <p>SteF</p>
  • <p>No more answer at all ? Is my whish impossible ?</p>
  • <p>fonzy44, this is a really cool concept.  I'm working on an example for you right now.  I should be able to link you to some source tonight once I've finished and tested the application.</p>
    Warning No formatter is installed for the format ipb
  • <p>BIRT with JSF error</p>
    <p> </p>
    <p> </p>
    <div> </div>
    <div><br>
    Hi there,</div>
    <div>We try to run in Tomcat your example DevShare where it works fine we are able to see the images chart, but we ran in any browser we got an error where did not allow us to see the chart.</div>
    <div>see the error <a data-ipb='nomediaparse' href='https://www.screencast.com/t/FYah4mg6'>https://www.screencast.com/t/FYah4mg6</a></div&gt;
    <div>We try many things to modify in xml file but it did not work</div>
    <div>we are using BIRT 4.5 Tomcat 8. JFS 2.2<br>
    any advise what is causing the issue</div>
    <div>Thanks,</div>