This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes Is there anything between Print Writer and Jasper? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Is there anything between Print Writer and Jasper?" Watch "Is there anything between Print Writer and Jasper?" New topic
Author

Is there anything between Print Writer and Jasper?

Jehan Jaleel
Ranch Hand

Joined: Apr 30, 2002
Posts: 181
Hi,

I need to build a simple report. I would prefer to build it using pure Java rather than with a reporting engine like Jasper. Right now I tried using simple PrintWrier like so…



I was wondering if there is anything a bit more sophisticated than Print Writer. Something which will let me better format the report but still use Java.

Anyone have any suggestions.
Nitin Surana
Ranch Hand

Joined: Jan 21, 2011
Posts: 129

I'd suggest using IReports (GUI for JasperReports). It is very easy to learn. Within an hour you'll be good to go.

A very good IReport + Netbeans tutorial : http://ireport-tutorial.blogspot.com/

Moreover, here are a few examples.
http://www.onlinexamples.com/searchactionfull.action?keywords=report&idlabels=-1

If you require a more specific example, request it there(http://onlinexamples.com).
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

Jasper is pure Java. In what way is it not sufficient for your needs?
Jehan Jaleel
Ranch Hand

Joined: Apr 30, 2002
Posts: 181
Thanks for the suggestion guys.

I guess my reservation about using Jasper is that I am not a report developer/designer but only a simple Java guy. So I was unfamiliar with Jasper and how to manipulate the XML to create the correct format. With PrintWriter and tabs at least I can control the format from the code itself.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is there anything between Print Writer and Jasper?
 
Similar Threads
Jasper, direct print without dialog
simple jasper report in java without a database.
Jasper Reports with hibernate
Jasper report - ireport but in java class - dynamic report using jasper report api
Jasper report - ireport but in java class - dynamic report using jasper report api