If your reporting needs require more dynamic reports, with user control over the elements to be included in the report, developerWorks has an article on Generating XML templates for JasperReports using Rational Application Developer.
JasperReports helps organizations generate affordable business data reports using an XML template. The XML template provides the key report information such as the SQL query, report title, column headers, and database fields. This article discusses how to generate the XML template to allow a user to specify which report columns should be included.
Comment
Subscribe
Stumble
Previous
10 Responses to Building Dynamic JasperReports
Sunil
July 5th, 2006 at 10:42 am
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_olivieri/0505_olivieri.html
The url is very informative , but any ideas regarding using the same with spring-jasper views?? (JasperReportsMultiFormatView ).
is there any way JasperReportsMultiFormatView can exsist without the jrxml “url” parameter ??
any info/links is welcome .
Thanks
Sunil
Nuno Silva
October 16th, 2006 at 11:13 am
hi
i would like to access data via a stored procedure from a database, does anyone know how to do this ???
if this is not possible there is always the chance to create a data provider with the data retrived from the stored procedured called in a java class.
help is appreciated
thanks in advance
Nuno Silva
Brian Burridge
October 17th, 2006 at 10:29 am
Please see my post on using Oracle Stored procedures from JasperReports. http://www.brianburridge.com/2006/06/04/how-to-call-stored-procedures-from-jasper-reports/
jai
April 9th, 2007 at 9:41 am
hi guys, would any budy help me out how to create a report in browser from database and send me coding ………..
Yudha Nugraha
July 27th, 2007 at 4:35 am
to whom this may concern,
did anybody know how to create a report with jasper reports and how to embed the reports into web, please send me a simple code using java if anybody know how to create it
bora erbas
August 1st, 2007 at 6:54 am
“embed the reports into web” would mean = send a request to the server (a servlet possibly) along with the report parameters (if any) and return the html (jsp) with the report (maybe a jpg containing a chart) embedded in it. This is how I do it and nothing is magic, simple jasper-reports work. If you need to create a chart image however, on the server side you may need to first save the image on the file system and have the jsp refer to it…
Juan Manuel Alvarez
September 22nd, 2007 at 12:40 am
Ever tried DynamicJasper? (http://dynamicjasper.sourceforge.net/) this solutions wraps Jasper Reports while keeping full compatibility.
Dynamic Report are achieved without XML files. Everything can be configured at runtime.
Regars.
Juan
Juan Manuel Alvarez
September 22nd, 2007 at 12:44 am
DynamicJasper (http://dynamicjasper.sourceforge.net/) is an open source reporting framework that allows users to create a great variety of reports through an intuitive Java API. It lets you define programmatically columns, groups, totals, charts, output format (pdf, excel, html and more) and many design aspects at runtime. The DJ API deals with lots of layout issues making the design process easy and automatic. Latest release adds subreport capabilities. It’s based on JasperReports reporting system, and helps you reduce its complexity (and development time).
mohammd_ahmar
January 29th, 2010 at 1:30 am
hi
i want to know how i can built dynamic report please
i want simple example and code
i using grails in create my reports
Lokesh Bharani
January 29th, 2010 at 1:30 am
Hi,
can u plz guide, how to create a rectangle or a triangle using Jasper Report 3.5.2, i intend to create a perfoemance chart using these graphical elements dynamically.