JasperReports

From Wikipedia, the free encyclopedia

Jump to: navigation, search
JasperReports
Developed by JasperSoft
Latest release 3.5.0 / 2009-03-25; 10 days ago
Operating system Cross-platform
Available in Multilingual
Type Enterprise Reporting
License GNU Lesser General Public License
Website http://www.jasperforge.org/jasperreports

JasperReports is an open source Java reporting tool that can write to screen, to a printer or into PDF, HTML, Microsoft Excel, RTF, ODT, Comma-separated values and XML files.

It can be used in Java-enabled applications, including Java EE or Web applications, to generate dynamic content. It reads its instructions from an XML or .jasper file.

Contents

[edit] Features

JasperReports is an open source reporting library that can be embedded into any Java application. Features include:

  • PDF, HTML, Microsoft Excel, RTF, ODT, CSV and XML files. The engine allows report definitions to include charts, with the rendering provided by the JFreeChart library which supports many chart layouts, such as Pie, Bar, Stacked Bar, Line, Area, Scatter Plot, Bubble, and Time series.
  • Multiple sources can be merged together.[1] The data can be retrieved from defined data sources such as JDBC, CALS Table Models, JavaBeans, EJBQL, XML, Hibernate, and Comma-separated values, and additional data sources can be added to the JasperReports framework by plugging in a custom JRQueryExecuter. An extension is available to use Oracle PL/SQL stored procedures as a data source.[2]
  • Scriptlets may accompany the report definition[1], which the report definition can invoke at any point to perform additional processing. The scriptlet is built using Java, and has many hooks that can be invoked before or after stages of the report generation, such as Report, Page, Column or Group.
  • Sub-reports[3]

For users with more sophisticated report management requirements, reports designed for JasperReports can be easily imported into the JasperServer - the interactive report server. JasperServer Project Page

[edit] JasperSoft

JasperSoft
Type Software engineering
Founded 2005
Key people Paul Doscher, founder; Brian Gentile, CEO
Industry business intelligence
Products JasperSoft BI[4]
Website jaspersoft.com

Teodor Danciu began work on JasperReports JasperReports Project Page in June 2001, the sf.net project was registered in September 2001[5] and JasperReports 0.1.5 was released on November 3rd 2001 [6].

JasperReports Version 1.0 was released on July 21, 2005[7].

The code was originally licenced under a copyleft JasperReports License[5] and later moved to LGPL.

In April 2005, Paul Doscher, formerly of Business Objects, formed JasperSoft by acquiring the copyright of JasperReports from Teodor Danciu[8], hired him, and as of July 2005 had raised $23.3m in capital[9]. As a result, JasperSoft is able to provide commercial software around the JasperReports product, and negotiate contracts with software developers that wish to embed the JasperReports engine into a closed source product.

JasperSoft's main related product is JasperServer JasperServer Project Page, a Java EE web application that provides advanced report server capabilities such as report scheduling and permissions. It is available under an open source license for use in conjunction with open source infrastructure such as MySQL and JBoss, or a commercial license for enterprise deployments involving commercial databases and application servers.

JasperSoft is a gold partner with MySQL[10], and JasperReports was included in the PostgreSQL distribution Bizgres version 0.7.[11][12][13]

[edit] JRXML

JasperReports are defined in an XML file format, called JRXML, which can be hand-coded, generated, or designed using a tool. The file format is defined by a Document Type Definition (DTD), providing limited interoperability.[14]

The main difference between using XML and a .jasper file is that the XML file should be compiled at runtime using the JasperCompileManager class.

[edit] Third party tools

There are many tools providing JasperReport capabilities:

  • iReport, iReport Project Pagean open source standalone graphical program that provides report designer capabilities, and is able to run reports using all data source supported by the JasperReports engine.[3] iReport is actively maintained by JasperSoft.[15]
  • SWTJasperViewer, an open source reusable component that can be embedded in any SWT/JFace application such as Eclipse.[16]
  • five Eclipse plug-ins that provide report designing and debugging capabilities, including:
    • an open source iReport plugin for Eclipse
    • a commercial Eclipse plug-in called JasperAssistant.[17] The JasperAssistant plug-in is built using SWTJasperViewer.[18]
  • WebReportBuilder, an open source Java EE web application that allows web based developers and non developers to create basic and advanced Reports based on JasperReports to be used as a Web Report Server.
  • OpenReports, a Java EE web application that provides advanced report server capabilities with support for four open source reporting engines: JasperReports, JFreeReport, JXLS, and Eclipse BIRT.[19]
  • JasperTags [1], a JSP tag library for easy inclusion of reports in web applications.
  • Plazma Report Designeran open source JasperReports designer plugin for Eclipse
  • Aspose.Words for JasperReports : Convert reports from JasperReports & JasperServer to Word Formats.
  • Aspose.Slides for JasperReports : Convert reports from JasperReports to PowerPoint PPT & PPS Formats.

[edit] IDE Integration

Many prominent Java IDEs provide instructions for users wishing to integrate JasperReports into a project. [20]

[edit] Further reading

[edit] Code refactoring

JasperReports has been the focus of several academic papers on code refactoring

[edit] References

  1. ^ a b Erik Swenson (2002-09-20). "Reports made easy with JasperReports". JavaWorld.com. http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-opensourceprofile.html. Retrieved on 2007-01-11. 
  2. ^ OracleStoredProcedures sub-project
  3. ^ a b Christian Brell, Tobias Kieninger (January 2007). "Freie Reporting-Tools im Vergleich" (PDF). JavaSpektrum. http://www.oio.de/public/opensource/JS_01_07_Reporting.pdf. Retrieved on 2007-07-14. 
  4. ^ Zack Urlocker (July 23, 2007). "JasperSoft BI Suite 2.0". InfoWorld weblog. http://weblog.infoworld.com/openresource/archives/2007/07/jaspersoft_bi_s.html. Retrieved on 2007-07-30. 
  5. ^ a b "An Interview with Teodor Danciu of JasperReports". RootPrompt. February 16, 2005. http://rootprompt.org/article.php3?article=8332. Retrieved on 2007-01-11. 
  6. ^ freshmeat.net: Project details for JasperReports:Comment
  7. ^ "JasperReports 1.0 released". theserverside. http://www.theserverside.com/news/thread.tss?thread_id=35381. Retrieved on 2007-01-11. 
  8. ^ "Can an open source project get acquired? One just did.". zdnet blogs. April 25, 2005. http://blogs.zdnet.com/BTL/index.php?p=1306. Retrieved on 2006-12-28. 
  9. ^ "Open source BI grabs more VC attention". Computer Business Review. 21 July 2005. http://www.cbronline.com/article_news.asp?guid=63F53188-256B-44D9-A48A-894F0635FB35. Retrieved on 2007-01-11. 
  10. ^ "MySQL AB :: Jaspersoft". 2006-06-27. http://solutions.mysql.com/solutions/partner.php?partner=1102. Retrieved on 2007-01-11. 
  11. ^ "Bizgres 0.7 Released". bizgres.org. August 3, 2005. http://www.bizgres.org/articles.php?id=9. Retrieved on 2007-01-11. 
  12. ^ Gavin Clarke (3 August 2005). "Bizgres gets down to business with open source BI stack". RegDeveloper. http://www.regdeveloper.co.uk/2005/08/03/postgre_bi/. Retrieved on 2007-01-11. 
  13. ^ Jutta Horstmann (November 10, 2005). "Migrating to Open Source Databases: The Data Warehouse Case Study" (PDF). http://www.osdbmigration.org/misc/case_datawarehouse.pdf. Retrieved on 2007-01-11. 
  14. ^ David R. Heffelfinger. "JasperReports Tutorial/Getting Started Guide". http://ensode.net/jasperreports_intro.html. Retrieved on 2007-01-11. 
  15. ^ David R. Heffelfinger. "Review: iReport Designer for JasperReports". http://www.ensode.net/ireport_review.html. Retrieved on 2007-01-11. 
  16. ^ "SWTJasperViewer: plugin details". Eclipse-Plugins.info. 25 November 2004. http://eclipse-plugins.info/eclipse/plugin_details.jsp?id=884. Retrieved on 2007-01-11. 
  17. ^ Anadi Misra (May 31, 2006). "Generating reports with Jasper Reports". http://www.ciol.com/content/search/showarticle1.asp?artid=84612. Retrieved on 2007-01-11. 
  18. ^ "JasperAssistant: Plugin details". Eclipse-Plugins.info. 12 December 2006. http://eclipse-plugins.info/eclipse/plugin_details.jsp?id=507. Retrieved on 2007-01-11. 
  19. ^ Brian Burridge (April 8, 2005). "JasperReports and OpenReports". http://www.brianburridge.com/2005/04/08/jasper-and-open-reports/. Retrieved on 2007-01-11. 
  20. ^ JasperReports Project Page
  21. ^ Ricardo Olivieri (17 November 2004). "Generating online reports using JasperReports and WebSphere Studio". IBM developerWorks. http://www-128.ibm.com/developerworks/websphere/library/techarticles/0411_olivieri/0411_olivieri.html. Retrieved on 2007-01-11. 
  22. ^ Craig Conover and Marina Sum (September 1, 2006). "Integrating and Using JasperReports in NetBeans". Sun Developer Network. http://developers.sun.com/prodtech/javatools/jsenterprise/reference/techart/jse8/jasper_reports.html. Retrieved on 2007-01-11. 

[edit] Further reading

[edit] External links

Personal tools