SlideShare una empresa de Scribd logo
1 de 23
troduction to Jasper Reports – Seminar 2
Ankur Gupta
About Me
SCJP/OCJP - Oracle Certified Java Programmer
MCP:70-480 - Specialist certification in HTML5
with JavaScript and CSS3 Exam
M101J: MongoDB for Java Developers
Skills : Servoy, Java, JavaScript,
HTML, Jasper Reports , iReport,
MongoDB, JavaFX
Connect Me :
Facebook : https://www.facebook.com/ankur10aug
LinkedIn: http://www.linkedin.com/pub/ankur-gupta/51/895/910
Twitter: https://twitter.com/ankur_aug
Google+ : https://plus.google.com/116451164261752827176
Blog: http://ankurthetechie.blogspot.in, http://community.jaspersoft.com/planet
YouTube video Stream: http://www.youtube.com/user/ankurgupta46/videos
Contact Me :
Email : Ankurg@mindfiresolutions.com
Skype: mfsi_ankurg
Recap
 Introduction to reporting
 What is Jasper Reports
 Tools that can be used to create Jasper Reports
 What is iReport
 Various editions of iReport (Community/Professional)
 Basic elements of the report.
 Introduction to usage of Parameters and variables .
 Demonstration in iReports (Using sample database).
 Peek into the next seminar.
Adgenda
 Quick Recap of Previous Seminar
 Datasources
 Grouping
 Importance of Evaluation Time
 Charts
 Sub- Reports
 Lists
 Sub-Reports Vs Lists
 Scriptlets
 Styles
Datasources in iReport
Datasource Implementation Class
JDBC net.sf.jasperreports.engine.JRResultSetDataSource
JavaBean net.sf.jasperreports.engine.data.JRBeanCollectionDataSource,
net.sf.jasperreports.engine.data.JRBeanArrayDataSource
Map-based net.sf.jasperreports.engine.data.JRMapArrayDataSource,
net.sf.jasperreports.engine.data.JRMapCollectionDataSource
TableModel net.sf.jasperreports.engine.data.JRTableModelDataSource
XML net.sf.jasperreports.engine.data.JRXmlDataSource
CSV net.sf.jasperreports.engine.data.JRCsvDataSource
XLS net.sf.jasperreports.engine.data.JRXlsDataSource
Empty net.sf.jasperreports.engine.JREmptyDataSource
Grouping in Reports
Importance of Evaluation Time in Reports
Types of Evaluation Time
1.None
2.Report
3.Group
4.Column
5.Page
6.Now
7.Band
8.Auto
Charts
Tools can be used to create charts in Jasper
Reports
 Inbuilt Chart item in Palette of iReport / JasperSoft Studio
 Custom Charts using JFreeCharts (will be taken up in the next seminar)
Sub-report
Utility of using subreport:
1.Implements Report in Report Structure
2.Provides full structure of the subreport
3.Pass and Return values to provide dynamism to the main report
Lists
Lists Vs Sub Report
Advantages of using List:
1.No Extra resources
2.In Report calculation
Advantages of using Subreport
1.Pass and Return values to provide dynamism to the main report
2.Acts as completely new report with all the features of a individual report, like
having title, header, footer, etc.
Scriptlet
How Scriptlets can be utilized.
 Field Manipulation
 Variable Manipulation
Report Data Manipulation
Integration with Java Foundation Components, such as
SWING etc.
How to achieve customization using
Scriptlets
 User Defined Functions
 Predefined functions
Pre- Defined Functions
 beforeReportInit()
 afterReportInit()
 beforePageInit()
 afterPageInit()
 beforeColumnInit()
 afterColumnInit()
 beforeGroupInit(String)
 afterGroupInit(String groupName)
 beforeDetailEval()
 afterDetailEval()
User Defined Functions
Styles in Jasper Reports
How to include Styles in Jasper Reports
1. Creating Styles in the Report itself (More like local Style sheet)
2. Creating External jrtx File which could be linked with any Report (More
like a global Style)
Demo
Peek into the next seminar.
 Demonstration Of custom Datasource
 Cascading Parameters
 Drill Down Reports
 Collection Parameters
 Scheduling Reports
 Utility of Print When Expession
and much more …
Questions
Thankyou

Más contenido relacionado

La actualidad más candente

Hibernate Presentation
Hibernate  PresentationHibernate  Presentation
Hibernate Presentation
guest11106b
 

La actualidad más candente (20)

Java Spring Framework
Java Spring FrameworkJava Spring Framework
Java Spring Framework
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with Overview
 
Tomcat server
 Tomcat server Tomcat server
Tomcat server
 
Spring data jpa
Spring data jpaSpring data jpa
Spring data jpa
 
Spring Framework
Spring FrameworkSpring Framework
Spring Framework
 
Introduction to spring boot
Introduction to spring bootIntroduction to spring boot
Introduction to spring boot
 
Spring: Overview do framework mais popular para desenvolvimento em Java
Spring: Overview do framework mais popular para desenvolvimento em JavaSpring: Overview do framework mais popular para desenvolvimento em Java
Spring: Overview do framework mais popular para desenvolvimento em Java
 
PUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBootPUC SE Day 2019 - SpringBoot
PUC SE Day 2019 - SpringBoot
 
Spring Web MVC
Spring Web MVCSpring Web MVC
Spring Web MVC
 
Swagger
SwaggerSwagger
Swagger
 
Java spring ppt
Java spring pptJava spring ppt
Java spring ppt
 
jstl ( jsp standard tag library )
jstl ( jsp standard tag library )jstl ( jsp standard tag library )
jstl ( jsp standard tag library )
 
Hibernate Presentation
Hibernate  PresentationHibernate  Presentation
Hibernate Presentation
 
Spring core module
Spring core moduleSpring core module
Spring core module
 
Spring boot
Spring bootSpring boot
Spring boot
 
Spring Framework
Spring Framework  Spring Framework
Spring Framework
 
Introducing Swagger
Introducing SwaggerIntroducing Swagger
Introducing Swagger
 
Spring boot introduction
Spring boot introductionSpring boot introduction
Spring boot introduction
 
Spring Boot Tutorial
Spring Boot TutorialSpring Boot Tutorial
Spring Boot Tutorial
 
REST Easy with Django-Rest-Framework
REST Easy with Django-Rest-FrameworkREST Easy with Django-Rest-Framework
REST Easy with Django-Rest-Framework
 

Destacado

"Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces...
"Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces..."Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces...
"Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces...
hamidsamadi
 
Jaspersoft Studio Quick Start Guide
Jaspersoft Studio Quick Start GuideJaspersoft Studio Quick Start Guide
Jaspersoft Studio Quick Start Guide
Jeff Rix
 
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEXLOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
Enkitec
 

Destacado (16)

Embedding Jaspersoft into your PHP application
Embedding Jaspersoft into your PHP applicationEmbedding Jaspersoft into your PHP application
Embedding Jaspersoft into your PHP application
 
"Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces...
"Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces..."Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces...
"Analytics inside your Java application", Part 2, jDays 2015 Speaker: "Veaces...
 
Mobile Web Development from Scratch
Mobile Web Development from ScratchMobile Web Development from Scratch
Mobile Web Development from Scratch
 
Jasper Report - Lesson
Jasper Report - LessonJasper Report - Lesson
Jasper Report - Lesson
 
C* Summit EU 2013: Leveraging the Power of Cassandra: Operational Reporting a...
C* Summit EU 2013: Leveraging the Power of Cassandra: Operational Reporting a...C* Summit EU 2013: Leveraging the Power of Cassandra: Operational Reporting a...
C* Summit EU 2013: Leveraging the Power of Cassandra: Operational Reporting a...
 
Promise Object in Windows Store App
Promise Object in Windows Store AppPromise Object in Windows Store App
Promise Object in Windows Store App
 
Jaspersoft Reporting v5
Jaspersoft Reporting v5Jaspersoft Reporting v5
Jaspersoft Reporting v5
 
Clases jasper report
Clases jasper reportClases jasper report
Clases jasper report
 
Jaspersoft Studio Quick Start Guide
Jaspersoft Studio Quick Start GuideJaspersoft Studio Quick Start Guide
Jaspersoft Studio Quick Start Guide
 
Jaspersoft Studioチュートリアル1 - レポートの作成
Jaspersoft Studioチュートリアル1 - レポートの作成Jaspersoft Studioチュートリアル1 - レポートの作成
Jaspersoft Studioチュートリアル1 - レポートの作成
 
BatchJobService
BatchJobServiceBatchJobService
BatchJobService
 
Open Source Reporting Tool Comparison
Open Source Reporting Tool ComparisonOpen Source Reporting Tool Comparison
Open Source Reporting Tool Comparison
 
Oracle Apex - Presentazione
Oracle Apex - PresentazioneOracle Apex - Presentazione
Oracle Apex - Presentazione
 
Captcha ppt
Captcha pptCaptcha ppt
Captcha ppt
 
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEXLOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
 
Apex day 1.0 oracle apex 5.0 patrick wolf
Apex day 1.0 oracle apex 5.0 patrick wolfApex day 1.0 oracle apex 5.0 patrick wolf
Apex day 1.0 oracle apex 5.0 patrick wolf
 

Similar a Advanced Jasper Reports

Application depolyment
Application depolymentApplication depolyment
Application depolyment
shriikantL
 
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Ranel Padon
 
Interview qutions
Interview qutionsInterview qutions
Interview qutions
satyaragha
 

Similar a Advanced Jasper Reports (20)

Best Informatica Training Form myTectra in Bangalore
Best Informatica Training Form myTectra in BangaloreBest Informatica Training Form myTectra in Bangalore
Best Informatica Training Form myTectra in Bangalore
 
Professionalizing the Front-end
Professionalizing the Front-endProfessionalizing the Front-end
Professionalizing the Front-end
 
Application depolyment
Application depolymentApplication depolyment
Application depolyment
 
Introduction To Eclipse RCP
Introduction To Eclipse RCPIntroduction To Eclipse RCP
Introduction To Eclipse RCP
 
Apache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentationApache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentation
 
Mykola Kovsh - Functional API automation with Jmeter
Mykola Kovsh - Functional API automation with JmeterMykola Kovsh - Functional API automation with Jmeter
Mykola Kovsh - Functional API automation with Jmeter
 
Angular 2 overview in 60 minutes
Angular 2 overview in 60 minutesAngular 2 overview in 60 minutes
Angular 2 overview in 60 minutes
 
Spring boot
Spring bootSpring boot
Spring boot
 
ADVANCED NOTEPAD
ADVANCED NOTEPADADVANCED NOTEPAD
ADVANCED NOTEPAD
 
Scale and Load Testing of Micro-Service
Scale and Load Testing of Micro-ServiceScale and Load Testing of Micro-Service
Scale and Load Testing of Micro-Service
 
jRecruiter - The AJUG Job Posting Service
jRecruiter - The AJUG Job Posting ServicejRecruiter - The AJUG Job Posting Service
jRecruiter - The AJUG Job Posting Service
 
Massaging the Pony: Message Queues and You
Massaging the Pony: Message Queues and YouMassaging the Pony: Message Queues and You
Massaging the Pony: Message Queues and You
 
PhpStorm: Symfony2 Plugin
PhpStorm: Symfony2 PluginPhpStorm: Symfony2 Plugin
PhpStorm: Symfony2 Plugin
 
Qtp basics
Qtp basicsQtp basics
Qtp basics
 
Hydrosphere.io for ODSC: Webinar on Kubeflow
Hydrosphere.io for ODSC: Webinar on KubeflowHydrosphere.io for ODSC: Webinar on Kubeflow
Hydrosphere.io for ODSC: Webinar on Kubeflow
 
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
 
Github-Source code management system SRS
Github-Source code management system SRSGithub-Source code management system SRS
Github-Source code management system SRS
 
Engage - Expanding XPages with Bootstrap Plugins for ultimate usability
Engage - Expanding XPages with Bootstrap Plugins for ultimate usabilityEngage - Expanding XPages with Bootstrap Plugins for ultimate usability
Engage - Expanding XPages with Bootstrap Plugins for ultimate usability
 
PuppetCamp - How Puppet helped us to standardize, communicate and work together
PuppetCamp - How Puppet helped us to standardize, communicate and work togetherPuppetCamp - How Puppet helped us to standardize, communicate and work together
PuppetCamp - How Puppet helped us to standardize, communicate and work together
 
Interview qutions
Interview qutionsInterview qutions
Interview qutions
 

Más de Mindfire Solutions

Más de Mindfire Solutions (20)

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
 
diet management app
diet management appdiet management app
diet management app
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
 
ELMAH
ELMAHELMAH
ELMAH
 
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
 

Último

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Último (20)

Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 

Advanced Jasper Reports

  • 1. troduction to Jasper Reports – Seminar 2 Ankur Gupta
  • 2. About Me SCJP/OCJP - Oracle Certified Java Programmer MCP:70-480 - Specialist certification in HTML5 with JavaScript and CSS3 Exam M101J: MongoDB for Java Developers Skills : Servoy, Java, JavaScript, HTML, Jasper Reports , iReport, MongoDB, JavaFX Connect Me : Facebook : https://www.facebook.com/ankur10aug LinkedIn: http://www.linkedin.com/pub/ankur-gupta/51/895/910 Twitter: https://twitter.com/ankur_aug Google+ : https://plus.google.com/116451164261752827176 Blog: http://ankurthetechie.blogspot.in, http://community.jaspersoft.com/planet YouTube video Stream: http://www.youtube.com/user/ankurgupta46/videos Contact Me : Email : Ankurg@mindfiresolutions.com Skype: mfsi_ankurg
  • 3. Recap  Introduction to reporting  What is Jasper Reports  Tools that can be used to create Jasper Reports  What is iReport  Various editions of iReport (Community/Professional)  Basic elements of the report.  Introduction to usage of Parameters and variables .  Demonstration in iReports (Using sample database).  Peek into the next seminar.
  • 4. Adgenda  Quick Recap of Previous Seminar  Datasources  Grouping  Importance of Evaluation Time  Charts  Sub- Reports  Lists  Sub-Reports Vs Lists  Scriptlets  Styles
  • 5. Datasources in iReport Datasource Implementation Class JDBC net.sf.jasperreports.engine.JRResultSetDataSource JavaBean net.sf.jasperreports.engine.data.JRBeanCollectionDataSource, net.sf.jasperreports.engine.data.JRBeanArrayDataSource Map-based net.sf.jasperreports.engine.data.JRMapArrayDataSource, net.sf.jasperreports.engine.data.JRMapCollectionDataSource TableModel net.sf.jasperreports.engine.data.JRTableModelDataSource XML net.sf.jasperreports.engine.data.JRXmlDataSource CSV net.sf.jasperreports.engine.data.JRCsvDataSource XLS net.sf.jasperreports.engine.data.JRXlsDataSource Empty net.sf.jasperreports.engine.JREmptyDataSource
  • 7. Importance of Evaluation Time in Reports Types of Evaluation Time 1.None 2.Report 3.Group 4.Column 5.Page 6.Now 7.Band 8.Auto
  • 9. Tools can be used to create charts in Jasper Reports  Inbuilt Chart item in Palette of iReport / JasperSoft Studio  Custom Charts using JFreeCharts (will be taken up in the next seminar)
  • 10. Sub-report Utility of using subreport: 1.Implements Report in Report Structure 2.Provides full structure of the subreport 3.Pass and Return values to provide dynamism to the main report
  • 11. Lists
  • 12. Lists Vs Sub Report Advantages of using List: 1.No Extra resources 2.In Report calculation Advantages of using Subreport 1.Pass and Return values to provide dynamism to the main report 2.Acts as completely new report with all the features of a individual report, like having title, header, footer, etc.
  • 14. How Scriptlets can be utilized.  Field Manipulation  Variable Manipulation Report Data Manipulation Integration with Java Foundation Components, such as SWING etc.
  • 15. How to achieve customization using Scriptlets  User Defined Functions  Predefined functions
  • 16. Pre- Defined Functions  beforeReportInit()  afterReportInit()  beforePageInit()  afterPageInit()  beforeColumnInit()  afterColumnInit()  beforeGroupInit(String)  afterGroupInit(String groupName)  beforeDetailEval()  afterDetailEval()
  • 18. Styles in Jasper Reports
  • 19. How to include Styles in Jasper Reports 1. Creating Styles in the Report itself (More like local Style sheet) 2. Creating External jrtx File which could be linked with any Report (More like a global Style)
  • 20. Demo
  • 21. Peek into the next seminar.  Demonstration Of custom Datasource  Cascading Parameters  Drill Down Reports  Collection Parameters  Scheduling Reports  Utility of Print When Expession and much more …