Jump to content

JasperReports

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 109.2.167.125 (talk) at 17:50, 25 November 2010 (Undid revision 398810837 by 109.2.167.125 (talk)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

JasperReports
Developer(s)JasperSoft
Stable release
3.7 / January 19, 2010; 14 years ago (2010-01-19)
Repository
Operating systemCross-platform
Available inMultilingual
TypeEnterprise Reporting
LicenseLGPL
Websitehttp://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.

JasperReports is part of the Lisog open source stack initiative.

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.
  • 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.

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

JasperSoft

JasperSoft
Company typeSoftware engineering
Industrybusiness intelligence
Founded2001
Key people
Teodor Danciu, JasperReports; Al Campa, Founder; Brian Gentile, CEO
ProductsJasperSoft BI[4]
Websitejaspersoft.com

Teodor Danciu began work on JasperReports 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.

Jaspersoft was originally called Panscopic, and was founded by Al Campa, CEO, and Raj Bhargava, VP of Products in 2001. Panscopic raised $23M from Doll Capital, Discovery Ventures, Morgenthaler Ventures, and Partech.[8] In 2004 Panscopic teamed up with Teodor Danciu,[9] acquired the intellectual property of JasperReports, and changed the name of the company to Jaspersoft. Brian Gentile became CEO in 2007.

JasperSoft provides 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, 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]

JRXML

JasperReports reports 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.

Third party tools

There are many tools providing JasperReport capabilities:

  • iReport, an 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]
  • DynamicReports, an open source Java API reporting library based on JasperReports which lets you create sophisticated reports at the lowest way without need to use visual designer, main benefit of this library is dynamic report design.
  • 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, a JSP tag library for easy inclusion of reports in web applications.[20]
  • Plazma Report Designer, an open source JasperReports designer plugin for Eclipse.[21]
  • Aspose.Words for JasperReports, for converting reports from JasperReports and JasperServer to Word formats.[22]
  • Aspose.Slides for JasperReports, for converting to PowerPoint PPT and PPS formats.[23]

IDE Integration

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

Further reading

  • Brian D. Eubanks (November 15, 2005). "Chapter 6. Graphics and Data Visualisation". Wicked Cool Java: code bits, open-source libraries, and project ideas. No Starch Press. pp. pp144–146. ISBN 1593270615. {{cite book}}: |pages= has extra text (help)
  • Jack M. Germain (2007-07-26). "So You Want to Be a Linux Developer, Part 1". TechNewsWorld. Retrieved 2007-07-30.

Code refactoring

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

References

  1. ^ a b Erik Swenson (2002-09-20). "Reports made easy with JasperReports". JavaWorld.com. Retrieved 2007-01-11.
  2. ^ OracleStoredProcedures sub-project
  3. ^ a b Christian Brell, Tobias Kieninger (January 2007). "Freie Reporting-Tools im Vergleich" (PDF). JavaSpektrum. Retrieved 2007-07-14. {{cite journal}}: More than one of |work= and |journal= specified (help)
  4. ^ Zack Urlocker (July 23, 2007). "JasperSoft BI Suite 2.0". InfoWorld weblog. Retrieved 2007-07-30.
  5. ^ a b "An Interview with Teodor Danciu of JasperReports". RootPrompt. February 16, 2005. Retrieved 2007-01-11.
  6. ^ freshmeat.net: Project details for JasperReports:Comment
  7. ^ "JasperReports 1.0 released". theserverside. Retrieved 2007-01-11.
  8. ^ "Open source BI grabs more VC attention". Computer Business Review. 21 July 2005. Retrieved 2007-01-11. [dead link]
  9. ^ "Can an open source project get acquired? One just did". zdnet blogs. April 25, 2005. Retrieved 2006-12-28.
  10. ^ "MySQL AB :: Jaspersoft". 2006-06-27. Retrieved 2007-01-11.
  11. ^ "Bizgres 0.7 Released". bizgres.org. August 3, 2005. Retrieved 2007-01-11.
  12. ^ Gavin Clarke (3 August 2005). "Bizgres gets down to business with open source BI stack". RegDeveloper. Retrieved 2007-01-11.
  13. ^ Jutta Horstmann (November 10, 2005). "Migrating to Open Source Databases: The Data Warehouse Case Study" (PDF). Retrieved 2007-01-11. [dead link]
  14. ^ David R. Heffelfinger. "JasperReports Tutorial/Getting Started Guide". Retrieved 2007-01-11.
  15. ^ David R. Heffelfinger. "Review: iReport Designer for JasperReports". Retrieved 2007-01-11.
  16. ^ "SWTJasperViewer: plugin details". Eclipse-Plugins.info. 25 November 2004. Retrieved 2007-01-11.
  17. ^ Anadi Misra (May 31, 2006). "Generating reports with Jasper Reports". Retrieved 2007-01-11. [dead link]
  18. ^ "JasperAssistant: Plugin details". Eclipse-Plugins.info. 12 December 2006. Retrieved 2007-01-11.
  19. ^ Brian Burridge (April 8, 2005). "JasperReports and OpenReports". Retrieved 2007-01-11.
  20. ^ JasperTags
  21. ^ Plazma Report Designer
  22. ^ Aspose.Words for JasperReports
  23. ^ Aspose.Slides for JasperReports
  24. ^ JasperReports Project Page
  25. ^ Ricardo Olivieri (17 November 2004). "Generating online reports using JasperReports and WebSphere Studio". IBM developerWorks. Retrieved 2007-01-11.
  26. ^ Craig Conover and Marina Sum (September 1, 2006). "Integrating and Using JasperReports in NetBeans". Sun Developer Network. Retrieved 2007-01-11.