JasperReports#Jaspersoft

{{short description|Reporting tool}}

{{Infobox Software

| name = JasperReports

| latest_release_version = {{wikidata|property|reference|P348}}

| latest_release_date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}

| latest preview version =

| latest preview date =

| developer = Jaspersoft

| operating_system = Cross-platform

| language = Multilingual

| genre = Enterprise Reporting

| license = LGPL

| website = {{url|community.jaspersoft.com/project/jasperreports-library|JasperReports Website}}

|repo={{URL|https://github.com/TIBCOSoftware/jasperreports|JasperReports Repository}}}}

JasperReports is an open source Java reporting tool that can write to a variety of targets, such as: screen, a printer, into PDF,{{sfn | Siddiqui | 2010 | loc=Chapter §1 - Introduction - Creating your first "Hello World" report}} HTML, Microsoft Excel, RTF, ODT, comma-separated values (CSV), XSL,{{sfn | Siddiqui | 2010 | loc=Chapter §1 - Introduction - Creating your first "Hello World" report}} or 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:

  • Scriptlets may accompany the report definition,{{cite web |last1=Swenson |first1=Erik |date=2002-09-20 |df=mdy |url=https://www.infoworld.com/article/2074594/reports-made-easy-with-jasperreports.html |title=Reports made easy with JasperReports |department=Open Source Java Tutorials |work=JavaWorld |access-date=2020-07-20}} 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{{cite journal |last1=Brell |first1=Christian |last2=Kieninger |first2=Tobias |date=January 2007 |title=Freie Reporting-Tools im Vergleich |url=https://www.oio.de/public/opensource/JS_01_07_Reporting.pdf |journal=JavaSpektrum |language=de |pages=40–45 |archive-url=https://web.archive.org/web/20200721120420/https://www.oio.de/public/opensource/JS_01_07_Reporting.pdf |archive-date=July 21, 2020 |access-date=2020-07-20}}{{sfn | Siddiqui | 2010 | loc=§Preface}}

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

Jaspersoft

{{Infobox company

| name = Jaspersoft

| logo = Jaspersoft Corporation Logo.png

| type = subsidiary

| foundation = 2002

| location_city = San Francisco

| location_country = United States

| location =

| locations =

| key_people = Teodor Danciu, JasperReports; Al Campa, Founder; Brian Gentile, CEO

| area_served =

| industry = Business intelligence

| products = Jaspersoft BI{{cite web|url=http://weblog.infoworld.com/openresource/archives/2007/07/jaspersoft_bi_s.html |title=JasperSoft BI Suite 2.0 |date=July 23, 2007 |author=Zack Urlocker |work=InfoWorld weblog |access-date=2007-07-30 |url-status=dead |archive-url=https://web.archive.org/web/20070918210231/http://weblog.infoworld.com/openresource/archives/2007/07/jaspersoft_bi_s.html |archive-date=September 18, 2007 }}

| services =

| revenue =

| operating_income =

| net_income =

| num_employees =

| parent = TIBCO

| divisions =

| subsid =

| homepage = {{url|jaspersoft.com}}

| dissolved =

| footnotes =

}}

Teodor Danciu began work on JasperReports in June 2001; the SourceForge project was registered in September 2001{{cite web |last=Talk |first=Chuck |date=February 16, 2005 |title=An Interview with Teodor Danciu of JasperReports |url=http://rootprompt.org/article.php3?article=8332 |url-status=dead |archive-url=https://web.archive.org/web/20141230234202/http://rootprompt.org/article.php3?article=8332 |archive-date=December 30, 2014 |access-date=2007-01-11 |work=RootPrompt}} and JasperReports 0.1.5 was released on November 3, 2001.[http://freshmeat.net/projects/jasperreports/#comment-12052 freshmeat.net: Project details for JasperReports:Comment]

Jaspersoft was founded as Panscopic by Al Campa, CEO, and Raj Bhargava, VP of Products in 2001. Panscopic raised $23M from Doll Capital, Discovery Ventures, Morgenthaler Ventures, and Partech. In 2004, Panscopic teamed up with Teodor Danciu,{{cite web |last=Berlind |first=David |date=April 25, 2005 |title=Can an open source project get acquired? One just did. |url=https://www.zdnet.com/article/can-an-open-source-project-get-acquired-one-just-did/ |url-status=live |archive-url=https://web.archive.org/web/20141214150800/https://www.zdnet.com/article/can-an-open-source-project-get-acquired-one-just-did/ |archive-date=December 14, 2014 |access-date=2006-12-28 |work=ZDNET}} acquired the intellectual property of JasperReports, and changed the name of the company to Jaspersoft. Brian Gentile became CEO in 2007.

JasperReports Version 1.0 was released on July 21, 2005.{{cite web |last=Ottinger |first=Joseph |date=Jul 21, 2005 |title=JasperReports 1.0 released |url=http://www.theserverside.com/news/thread.tss?thread_id=35381 |archive-url=https://web.archive.org/web/20070926235628/http://www.theserverside.com/news/thread.tss?thread_id=35381 |archive-date=September 26, 2007 |access-date=2007-01-11 |work=TheServerSide}} The code was originally licensed under a copyleft JasperReports License and later moved to GNU Lesser General Public License.

Jaspersoft's main related product is JasperReports Server, 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 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 is a gold partner with MySQL,{{cite web |date=2006-06-27 |title=MySQL AB :: Jaspersoft |url=http://solutions.mysql.com/solutions/partner.php?partner=1102 |url-status=dead |archive-url=https://web.archive.org/web/20070101043646/http://solutions.mysql.com/solutions/partner.php?partner=1102 |archive-date=2007-01-01 |access-date=2007-01-11 |website=solutions.mysql.com}} and JasperReports was included in the PostgreSQL distribution Bizgres version 0.7.{{cite web |date=August 3, 2005 |title=Bizgres 0.7 Released |url=http://www.bizgres.org/articles.php?id=9 |url-status=dead |archive-url=https://web.archive.org/web/20061217065559/http://www.bizgres.org/articles.php?id=9 |archive-date=December 17, 2006 |access-date=2007-01-11 |work=Bizgres}}{{cite news |author=Clarke |first=Gavin |date=3 August 2005 |title=Bizgres gets down to business with open source BI stack |work=RegDeveloper |url=http://www.regdeveloper.co.uk/2005/08/03/postgre_bi/ |url-status=live |access-date=2007-01-11 |archive-url=https://web.archive.org/web/20070928083406/http://www.regdeveloper.co.uk/2005/08/03/postgre_bi/ |archive-date=September 28, 2007}}{{cite web |author=Horstmann |first=Jutta |date=November 10, 2005 |title=Migrating to Open Source Databases: The Data Warehouse Case Study |url=http://www.osdbmigration.org/misc/case_datawarehouse.pdf |url-status=dead |archive-url=https://web.archive.org/web/20070929043853/http://www.osdbmigration.org/misc/case_datawarehouse.pdf |archive-date=September 29, 2007 |access-date=2007-01-11 |website=osdbmigration.org}}

In 2007, Ingres Corporation partnered with Jaspersoft and rPath start-up to release a Business Intelligence software based appliance called Icebreaker BI.[http://www.ingres.com/products/icebreaker-bi-appliance.php Icebreaker BI {{webarchive|url=https://web.archive.org/web/20100114002247/http://www.ingres.com/products/icebreaker-bi-appliance.php |date=2010-01-14 }} It consisted of the Ingres 2006 database with [https://distrowatch.com/table.php?distribution=rpath rPath Linux] and business intelligence tools from JasperSoft.{{cite web |title=Ingres breaks ice with JasperSoft |url=https://www.theregister.com/2007/08/23/ingres_jaspersoft_appliance/ |date=2007-08-23|access-date=2023-05-13}} Although the Icebreaker BI Appliance package included no hardware, Ingres called it an appliance because all the components of the software stack were tightly integrated and the company supported all the software itself.{{cite web |title=Ingres launches Icebreaker BI Appliance

|url=https://www.networkworld.com/article/2294254/ingres-launches-icebreaker-bi-appliance.html|date=2007-08-22|access-date=2023-05-13}}

On April 28, 2014, TIBCO announced its acquisition of Jaspersoft.[https://www.tibco.com/press-releases/2014/tibco-software-acquires-jaspersoft TIBCO Software Acquires Jaspersoft] {{webarchive|url=https://web.archive.org/web/20140501140250/http://www.tibco.com/company/news/releases/2014/press1341.jsp |date=2014-05-01 }}

JRXML

JasperReports reports are defined in an XML file format, called JRXML,{{sfn | Siddiqui | 2010 | loc=Chapter §1 - Introduction - Creating your first "Hello World" report}} which can be hand-coded, generated, or designed using a tool. The file format is defined by a document type definition or XML schema for newer versions, providing limited interoperability.{{cite web |author=Heffelfinger |first=David R. |title=JasperReports Tutorial/Getting Started Guide |url=http://ensode.net/jasperreports_intro.html |url-status=dead |archive-url=https://web.archive.org/web/20060721094118/http://ensode.net/jasperreports_intro.html |archive-date=2006-07-21 |access-date=2007-01-11 |website=ensode.net}}{{sfn | Siddiqui | 2010 | loc=Chapter §1 - Introduction - Creating your first "Hello World" report}} JRXML files have the filename extension .jrxml.

A .jasper file is a compiled version of a .jrxml file.{{sfn | Siddiqui | 2010 | loc=Chapter §1 - Introduction - Creating your first "Hello World" report}} {{Proper name|iReport}} does the compilation on the fly, but the compilation can also get achieved at runtime using the JasperCompileManager class.

IDE integration

Several Java integrated development environments, such as NetBeans, Eclipse and IBM Websphere Studio Application Developer{{cite web |author=Olivieri |first=Ricardo |date=17 November 2004 |title=Generating online reports using JasperReports and WebSphere Studio |url=http://www-128.ibm.com/developerworks/websphere/library/techarticles/0411_olivieri/0411_olivieri.html |archive-url=https://web.archive.org/web/20070111154610/http://www-128.ibm.com/developerworks/websphere/library/techarticles/0411_olivieri/0411_olivieri.html |archive-date=January 11, 2007 |access-date=2007-01-11 |work=IBM developerWorks}} provide instructions for users wishing to integrate JasperReports into a project.{{Cite web |title=JasperReports Project Page |url=http://jasperforge.org/jaspersoft/opensource/business_intelligence/ireport/ |url-status=dead |archive-url=https://web.archive.org/web/20080207183003/http://www.jasperforge.org/jaspersoft/opensource/business_intelligence/ireport/ |archive-date=2008-02-07 |access-date=2008-02-08 |website=Jaspersoft Community}}

See also

References

{{Reflist|30em}}

Further reading

  • {{cite book |title=Wicked Cool Java: code bits, open-source libraries, and project ideas |first=Brian D. |url=https://archive.org/details/wickedcooljavaco00euba |url-access=limited |author=Eubanks |chapter=Chapter 6. Graphics and Data Visualisation |pages=[https://archive.org/details/wickedcooljavaco00euba/page/n162 144]–146 |publisher=No Starch Press |date=November 15, 2005 |isbn=978-1-59327-061-2}}
  • {{cite news |url=http://www.technewsworld.com/story/58471.html |title=So You Want to Be a Linux Developer, Part 1 |date=2007-07-26 |author=Germain |first=Jack M. |work=TechNewsWorld |access-date=2007-07-30 |archive-date=2012-03-18 |archive-url=https://web.archive.org/web/20120318101001/http://www.technewsworld.com/story/58471.html |url-status=dead }}

=Code refactoring=

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

  • {{cite journal |title=Evolution of Cyclomatic Complexity in Object Oriented Software |journal=7th Workshop on the Quantitative Approaches in Object-oriented Software Engineering (QAOOSE'2003) |year=2003 |last1=Vasa |first1=Rajesh |last2=Schneider |first2=Jean-Guy |url=http://www.it.swin.edu.au/personal/jschneider/Pub/qaoose03.pdf |access-date=2007-07-14 |archive-url=https://web.archive.org/web/20080722081613/http://www.it.swin.edu.au/personal/jschneider/Pub/qaoose03.pdf |archive-date=2008-07-22 |url-status=dead}}
  • {{cite web |title=Heurac: A heuristic-based tool for extracting refactoring data from open-source software versions |url=http://www.dcs.bbk.ac.uk/research/techreps/2005/bbkcs-05-01.pdf |last1=Advani |first1=Deepak |last2=Hassoun |first2=Youssef |last3=Counsell |first3=Steve |date=January 2005 |archive-url=https://web.archive.org/web/20110928165532/http://www.dcs.bbk.ac.uk/research/techreps/2005/bbkcs-05-01.pdf |archive-date=September 28, 2011 |access-date=2007-01-11}}
  • {{cite web |url=http://amstel.cs.pdx.edu/Members/emerson/rpe.pdf |title=Improving Refactoring with Alternate Program Views |last1=Murphy-Hill |first1=Emerson |year=2005 |access-date=2007-01-11 |url-status=dead |archive-url=https://web.archive.org/web/20070114023610/http://amstel.cs.pdx.edu/Members/emerson/rpe.pdf |archive-date=2007-01-14}}
  • {{cite book|date=17–18 November 2005 | doi=10.1109/ISESE.2005.1541855|author=Vasa, R.|page=463|last2=Schneider|first2=J.|last3=Woodward|first3=C.|last4=Cain|first4=A.|title=2005 International Symposium on Empirical Software Engineering, 2005 |chapter=Detecting structural changes in object oriented software systems |isbn=978-0-7803-9507-7|hdl=1959.3/2528|s2cid=16524509| url=https://figshare.com/articles/conference_contribution/Detecting_structural_changes_in_object_oriented_software_systems/26250122}}
  • {{cite book |doi = 10.1145/1141277.1141685 |isbn=978-1-59593-108-5|chapter=Extracting refactoring trends from open-source software and a possible solution to the 'related refactoring' conundrum|title=Proceedings of the 2006 ACM symposium on Applied computing - SAC '06|pages=1713|year=2006|last1=Advani|first1=Deepak|last2=Hassoun|first2=Youssef|last3=Counsell|first3=Steve|s2cid=16201370}}
  • {{cite book | doi=10.1145/1159733.1159777 |isbn=978-1-59593-218-1 |chapter=Common refactorings, a dependency graph and some code smells |title=Proceedings of the 2006 ACM/IEEE international symposium on International symposium on empirical software engineering - ISESE '06 |pages=288 |year=2006 |last1=Counsell |first1=S. |last2=Hassoun |first2=Y. |last3=Loizou |first3=G. |last4=Najjar |first4=R. |s2cid=15086147 }}
  • {{cite book | last=Siddiqui | first=Bilal | title=JasperReports 3.6 Development Cookbook | publisher=Packt Publishing Ltd | date=2010 | isbn=978-1-84951-076-9}}