Running Crystal Reports From Java
Is there any way to run crystal reports from java. We need the ability to
pass parameters to a .rpt. We need to send tables, filters, and even sql
statements if possible. We can run a report that runs straight from the
database, but if any data manipulation is required prior to calling the report
when don't know if we can do this. Help!
Thanks
Re: Running Crystal Reports From Java
"Robert McNeill" <rjm@longsol.com> wrote:
>
>Is there any way to run crystal reports from java. We need the ability
to
>pass parameters to a .rpt. We need to send tables, filters, and even sql
>statements if possible. We can run a report that runs straight from the
>database, but if any data manipulation is required prior to calling the
report
>when don't know if we can do this. Help!
>
>Thanks
I do not know of any way of doing this directly other than using JNI and
a C or C++ header. Another way is to use Delphi or BCB to create a Corba
Object to write the exported calls and then create a Java Corba Object to
communicvate with the Delphi or BCB Corba object which is calling the COM
API's. The downside is, of course, you would need Visibroker (and endure
the inherent cost on Windows). Orbix is free on Linux, but you would probably
have to use BCB for the Client Corba Object. I am not sure (but I doubt it)
that Delphi's Corba is compatible with anything but Visibroker.
One other option is to try the COM to Java bridge from Sun, and see if you
could get this to ccommunicate with the COM objects of Crystal Reports.