Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Java Reports?

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a simple way to create reports in Java?

What I want to do is to get a number of strings in an ArrayList of objects and then put them on a printable report. Also, i want to put values from a comma-separated file to the printable report.
I've found this JavaDoc but, based from what I've understood, it's not possible to design the report using this. (Correct me if I'm wrong)

So basically, I am looking for a simple report producing class/library that I only have to import on my project (no further installations and similar things) or at least a library that requires little time to study/be familiarized with.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JasperReports is a well-known Java reporting library, but I've not used it myself, so I can't tell you any details about it.
 
Lance Gray
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've looked around myself and also found JasperReports. However, I can't seem to find a tutorial or a documentation regarding on using it and importing it on my project.
 
Ranch Hand
Posts: 160
IntelliJ IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jesper de Jong wrote:JasperReports is a well-known Java reporting library, but I've not used it myself, so I can't tell you any details about it.


I can vouch for it. It's pretty powerful, and easy to use once you get the hang of it.

@OP
You can find a guide here; JasperReports Ultimate Guide
 
Lance Gray
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Riaan Nel wrote:

Jesper de Jong wrote:JasperReports is a well-known Java reporting library, but I've not used it myself, so I can't tell you any details about it.


I can vouch for it. It's pretty powerful, and easy to use once you get the hang of it.

@OP
You can find a guide here; JasperReports Ultimate Guide


Thank you very much for the link, I really appreciate it.

Another question. What should I download in order to put JasperReports on my project? I downloaded the ZIP and JAR files from sourceforge, just in case. When I try to open the contents of the ZIP file, it looks for an ANT build tool. When I open the JAR file, it says it can't open/read the manifest file. Am I doing things wrong?
 
Riaan Nel
Ranch Hand
Posts: 160
IntelliJ IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Lance Gray wrote:

Riaan Nel wrote:

Jesper de Jong wrote:JasperReports is a well-known Java reporting library, but I've not used it myself, so I can't tell you any details about it.


I can vouch for it. It's pretty powerful, and easy to use once you get the hang of it.

@OP
You can find a guide here; JasperReports Ultimate Guide


Thank you very much for the link, I really appreciate it.

Another question. What should I download in order to put JasperReports on my project? I downloaded the ZIP and JAR files from sourceforge, just in case. When I try to open the contents of the ZIP file, it looks for an ANT build tool. When I open the JAR file, it says it can't open/read the manifest file. Am I doing things wrong?


Hi Lance

If you downloaded the JasperReports zip file, there should be a lib folder with a bunch of JAR files inside it. If memory serves me right, you have to copy those files to your JDK's lib folder. You'll also need to include the jasperreports-[version].jar file from the dist folder (in the zip file) as a library in your application. After you've done those two things, you should be good to go.
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic