JasperReports
From Wikipedia, the free encyclopedia
Developed by | JasperSoft |
---|---|
Latest release | 3.5.0 / 2009-03-25 |
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
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:
- 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]
- IBM Websphere Studio Application Developer [21]
- NetBeans [22]
- JasperReports Visual Designer for NetBeans - [2]
- Eclipse
[edit] Further reading
- David Heffelfinger (July 2006). JasperReports for Java Developers. Packt Publishing Limited. ISBN 1904811906. http://jasperreportsbook.packtpub.com/.
- 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.
[edit] Code refactoring
JasperReports has been the focus of several academic papers on code refactoring
- Rajesh Vasa; Jean-Guy Schneider (2003). "Evolution of Cyclomatic Complexity in Object Oriented Software". 7th workshop on the quantitative approaches in object-oriented software engineering (QAOOSE'2003). http://www.it.swin.edu.au/personal/jschneider/Pub/qaoose03.pdf.
- Deepak Advani, Youssef Hassoun, Steve Counsell (January 2005). "Heurac: A heuristic-based tool for extracting refactoring data from open-source software versions" (PDF). http://www.dcs.bbk.ac.uk/research/techreps/2005/bbkcs-05-01.pdf. Retrieved on 2007-01-11.
- Emerson Murphy-Hill (2005). "Improving Refactoring with Alternate Program Views" (PDF). http://amstel.cs.pdx.edu/Members/emerson/rpe.pdf. Retrieved on 2007-01-11.
- Vasa, R. (17-18 November 2005). "Detecting structural changes in object oriented software systems". Proceedings of the 2005 International Symposium on Empirical Software Engineering (ISESE 2005): 463. doi: . ISBN 0-7803-9507-7.
- Deepak Advani, Youssef Hassoun, Steve Counsell (2006). "Extracting refactoring trends from open-source software and a possible solution to the 'related refactoring' conundrum". Proceedings of the 2006 ACM symposium on Applied computing: 463. doi: . ISBN 1-59593-108-2 (New York, USA: ACM Press).
- S. Counsell, Y. Hassoun, G. Loizou and R. Najjar (2006). "Common Refactorings, a Dependency Graph and some Code Smells: An Empirical Study of Java OSS". Proceedings of the 2006 ACM/IEEE international symposium on International symposium on empirical software engineering: 463. doi: . ISBN 1-59593-218-6 (New York, USA: ACM Press).
[edit] References
- ^ 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.
- ^ OracleStoredProcedures sub-project
- ^ 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.
- ^ 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.
- ^ 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.
- ^ freshmeat.net: Project details for JasperReports:Comment
- ^ "JasperReports 1.0 released". theserverside. http://www.theserverside.com/news/thread.tss?thread_id=35381. Retrieved on 2007-01-11.
- ^ "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.
- ^ "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.
- ^ "MySQL AB :: Jaspersoft". 2006-06-27. http://solutions.mysql.com/solutions/partner.php?partner=1102. Retrieved on 2007-01-11.
- ^ "Bizgres 0.7 Released". bizgres.org. August 3, 2005. http://www.bizgres.org/articles.php?id=9. Retrieved on 2007-01-11.
- ^ 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.
- ^ 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.
- ^ David R. Heffelfinger. "JasperReports Tutorial/Getting Started Guide". http://ensode.net/jasperreports_intro.html. Retrieved on 2007-01-11.
- ^ David R. Heffelfinger. "Review: iReport Designer for JasperReports". http://www.ensode.net/ireport_review.html. Retrieved on 2007-01-11.
- ^ "SWTJasperViewer: plugin details". Eclipse-Plugins.info. 25 November 2004. http://eclipse-plugins.info/eclipse/plugin_details.jsp?id=884. Retrieved on 2007-01-11.
- ^ 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.
- ^ "JasperAssistant: Plugin details". Eclipse-Plugins.info. 12 December 2006. http://eclipse-plugins.info/eclipse/plugin_details.jsp?id=507. Retrieved on 2007-01-11.
- ^ Brian Burridge (April 8, 2005). "JasperReports and OpenReports". http://www.brianburridge.com/2005/04/08/jasper-and-open-reports/. Retrieved on 2007-01-11.
- ^ JasperReports Project Page
- ^ 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.
- ^ 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
- Jack M. Germain (2007-07-26). "So You Want to Be a Linux Developer, Part 1". TechNewsWorld. http://www.technewsworld.com/story/58471.html. Retrieved on 2007-07-30.
[edit] External links
- JasperForge.org JasperReports Project Landing Page
- JasperForge.org iReport Project Landing Page
- JasperReports JasperForge.org Project Page
- JasperForge.org (Home Page)
- DynamicJasper Open Source extension for dynamic columns reports
- JasperReports: Tips and Information
- JasperReports on Database Journal
- WebReportBuilder (JasperForge.org Project Page)