# Need to link to something like JasperReports

**URL:** <https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574>\
**Category:** Rails\
**Created:** [March 2, 2006, 2:24am UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574 "2006-03-02T02:24:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [March 2, 2006, 2:24am UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574/1 "2006-03-02T02:24:18Z")

</div>

Hello everyone,

Has anyone linked Rails to a report generator such as Jasper Reports  
([http://jasperreports.sourceforge.net/](http://jasperreports.sourceforge.net/))? At the moment, I think I  
need something along these lines for a project I’m working on, so it’d  
be nice to know if anyone’s used it before before I bring it up as a  
suggestion.

Doesn’t have to be JasperReports, and in fact I’d prefer to stay away  
from a Java-based solution if it’s practical to do so. It does need  
to run on Linux. A Ruby-based equivalent to Jasper Reports would be  
reeeeeally nice…

Thanks in advance

Dave M.

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [March 2, 2006, 2:02pm UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574/2 "2006-03-02T14:02:34Z")

</div>

On 02 Mar 2006, at 02:24, David M. wrote:

> Hello everyone,
> 
> Has anyone linked Rails to a report generator such as Jasper Reports  
> ([http://jasperreports.sourceforge.net/](http://jasperreports.sourceforge.net/))? At the moment, I think I  
> need something along these lines for a project I’m working on, so it’d  
> be nice to know if anyone’s used it before before I bring it up as a  
> suggestion.

Seems someone has: [http://wiki.rubyonrails.org/rails/pages/](http://wiki.rubyonrails.org/rails/pages/)  
HowtoIntegrateJasperReports

However, I don’t like the fact it starts a new JVM each time. From  
the Wiki:

"JasperReports itself is very fast, but bringing up a Java Virtual  
Machine for each call of generate\_doc takes its time (about 2 seconds  
on my machine). It would be much faster, if the Java interface  
application would run as a server application all the time and  
listening on a specific TCP port for incoming report generation  
requests. Then, the performance issue would be gone. I haven?t found  
the time to implement a JasperReport server yet. But, if somebody  
does, please let me know!

I think an option for better performance would be to use Apache  
Cocoon and call this pages from ruby. This way one could either use  
Apache FOP and XML/XSLT to generate PDF pages or integrate  
JasperReports or Eclipse BIRT into Cocoon. When Cocoon is then  
executed as Tomcat-Webapp the startuptime is nearly null."

It would certainly be nice if someone could add the steps to make  
JasperReports available on a TCP port.

> Doesn’t have to be JasperReports, and in fact I’d prefer to stay away  
> from a Java-based solution if it’s practical to do so. It does need  
> to run on Linux. A Ruby-based equivalent to Jasper Reports would be  
> reeeeeally nice…

I haven’t found one yet, and I don’t think one exists for the moment.  
It would be great, that’s a fact. Let’s hope someone finds the time  
to do this, especially if you could use an already existing  
application to edit the layouts.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [March 2, 2006, 3:23pm UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574/3 "2006-03-02T15:23:38Z")

</div>

David M. wrote:

> Doesn’t have to be JasperReports, and in fact I’d prefer to stay away  
> from a Java-based solution if it’s practical to do so. It does need  
> to run on Linux. A Ruby-based equivalent to Jasper Reports would be  
> reeeeeally nice…

Some time ago, I’ve started to write a little ruby program that is able  
to reads jasperreport XML files and produces pdf reports.  
The first (and, until now, unique) release is here:  
[http://www.addsw.it/wiki/doku.php?id=repy\_jasper](http://www.addsw.it/wiki/doku.php?id=repy_jasper)

After this release, I’ve implemented some little changes, like data  
grouping, but I’ve not found the time to conclude the work and release.

Simo  
AddSw

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [March 2, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574/4 "2006-03-02T15:35:09Z")

</div>

On 02 Mar 2006, at 15:23, Simo AddSW wrote:

> The first (and, until now, unique) release is here:  
> [http://www.addsw.it/wiki/doku.php?id=repy\_jasper](http://www.addsw.it/wiki/doku.php?id=repy_jasper)
> 
> After this release, I’ve implemented some little changes, like data  
> grouping, but I’ve not found the time to conclude the work and  
> release.

Nice, really nice. It won’t be for the next couple of months, but if  
I find the time, I’ll try to extend it. Thanks for sharing!

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [March 2, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574/5 "2006-03-02T22:29:22Z")

</div>

Nice, another bookmark 🙂

On 02 Mar 2006, at 19:43, Tom W. wrote:

> > > David M. wrote:  
> > > able
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [March 2, 2006, 7:44pm UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574/6 "2006-03-02T19:44:08Z")

</div>

Maybe Ruport would help?

[http://ruport.rubyforge.org/docs/](http://ruport.rubyforge.org/docs/)

-Tom
