"analytics inside your java application", part 2, jdays 2015 speaker: "veaceslav...
TRANSCRIPT
© Copyright 2000-2015 TIBCO Software Inc.
Analytics inside your Java Application
Veaceslav [email protected]
© Copyright 2000-2015 TIBCO Software Inc.
Overview
JasperReports Library
Teodor Danciu started library in 2001, he needed to show data from his application and export this data to different formats. He made it open source and published on sourceforge.net and it become popular.
© Copyright 2000-2015 TIBCO Software Inc.
Overview
What interactive reports are?
• Static reports just show data
• Interactive reports allow user to sort data, change column order, change chart type, change formatting.
• Interactivity is possible in HTML format, standard for UI today
© Copyright 2000-2015 TIBCO Software Inc.
Overview
What analytics are?
Users always want more. They don’t want to create templates, they want to explore data and find answers from their data in an easy and fast way. To do this we have AdHoc reporting “analytics”, a web server application with web ui where you can build a report while exploring and discovering your data.
© Copyright 2000-2015 TIBCO Software Inc.
Overview
What tools we provide?
JasperReports library we’ll help you with static reporting and interactive reports. We have a tool called Jaspersoft Studio that will help you write report templates. Jaspersoft Server will organise work of multiple users, will give them possibility to share reports, to run reports on a regular bases, to build adhoc reports and dashboards. Jaspersoft Server provide a REST and JavaScript APIs for developers, so it’s easy to use it from other applications or embed directly into a webpage. We provide also documentation, tutorials, forum, bugzilla, issue tracker and support.
© Copyright 2000-2015 TIBCO Software Inc.
Overview
Agenda
I’ll explain you how to: use JasperReports in a java application how to use Jaspersoft Studio how to create AdHoc reports with Jaspersoft Server
© Copyright 2000-2015 TIBCO Software Inc.
Jasper Reports Library
Let’s look at Jasper Reports LibraryBig Overview
© Copyright 2000-2015 TIBCO Software Inc.
Jasper Reports Library
Architecture
template.jrxml
REPORT pdf
excel html xml csv text
JasperReports Library
DATA jdbc csv
hibernate mongodb cassandra
json xml
© Copyright 2000-2015 TIBCO Software Inc.
Jasper Reports Library
How to use it? Basic example
Connection c = … ;// create SQL Connection
JasperDesign jasperDesign = JRXmlLoader.load(“/home/template.jrxml”);
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), c);
JasperExportManager.exportReportToPdfFile(jasperPrint, “/home/report.pdf");
© Copyright 2000-2015 TIBCO Software Inc.
Jasper Reports Library
What is Jaspersoft StudioBig Overview
© Copyright 2000-2015 TIBCO Software Inc.
Jaspersoft Studio
DemoBetter is to see how it works …
© Copyright 2000-2015 TIBCO Software Inc.
Jasper Reports Library
And JasperReports ServerBig Overview
© Copyright 2000-2015 TIBCO Software Inc.
JasperReports Server
What is it? Why I need it?
Help organise work of multiple users. A central repository for reporting objects, scheduling, security, simplify report management (deployment). Provide user interfaces for fast report creation. Allows embedding visualisations, reports into the webpages. Provides REST api for third party applications.
And it’s not a server, it’s a webapp.
© Copyright 2000-2015 TIBCO Software Inc.
Jaspersoft Studio
DemoBetter is to see how it works …
15
Questions & Answers
Thank you!
© Copyright 2000-2015 TIBCO Software Inc.
Veaceslav Chicu [email protected]