Upload
charles-mcbride
View
218
Download
0
Tags:
Embed Size (px)
Citation preview
Copyright © Team #4 CSCI 6838 Spring 2007
1
Ad Hoc Graphical Reports
CSCI 6838.2 Research Project and Seminar
Team #4
March 1, 2007
Copyright © Team #4 CSCI 6838 Spring 2007
2
Team Information Advisor:
• Dr. Kwok-Bun Yue [email protected] Mentors:
• Abbasi Dhilawala [email protected]• Scott Hetherington [email protected]
Team Members:• Prathyusha Patinjaryil [email protected]• Nikhila Chilkamarri [email protected]• Augustine Patil [email protected]• Abdul Hafeez Khan [email protected]
Copyright © Team #4 CSCI 6838 Spring 2007
3
Customer Information
Tietronix Software, Inc• Full-service provider of custom software applications
and advanced technology solutions• Tie Flow Software for NASA JSC
Contacts:• Abbasi Dhilawala [email protected]• Scott Hetherington [email protected]
Website: www.tietronix.com
Copyright © Team #4 CSCI 6838 Spring 2007
4
Table of Contents Project Overview Nikhila Project Requirements Nikhila Tasks Nikhila Design & Implementation Prathyusha Current Ad Hoc Tool Augustine JasperReports Augustine BIRT Augustine Implementation Challenges Abdul
Copyright © Team #4 CSCI 6838 Spring 2007
5
Table of Contents
Refinement Abdul Conclusions & Future Work Abdul Project Timeline Abdul Development Team Abdul References Abdul
Copyright © Team #4 CSCI 6838 Spring 2007
6
Project Overview
The main goal of the project is to provide the existing report generator with graphical display capability
The tools used to generate these reports are • JasperReports
• BIRT
Both JasperReports and BIRT take XML input which is the report definition file
Copyright © Team #4 CSCI 6838 Spring 2007
7
Project Overview
Technologies:• JAVA
• XML
• JBoss
• SQL Server 2005
Copyright © Team #4 CSCI 6838 Spring 2007
8
Project Requirements Initial project requirements
• XML translator to accept Ad Hoc report definition XML• XML translator then produces XML report definition in
Jasper or BIRT format
Present project requirements • Modify the Ad Hoc reporting tool to generate XML
report definition• This XML report definition must be understood by
Jasper or BIRT engines
Copyright © Team #4 CSCI 6838 Spring 2007
9
Tasks
Learn the Existing System
Learn the tools Jasper and BIRT
Learn the XML’s accepted by the Jasper and BIRT engines
Copyright © Team #4 CSCI 6838 Spring 2007
10
Design & Implementation
Architectural Diagram Class Diagram Use Case Diagram Sequence Diagram
11
Architecture Diagram Java
Capstone
Existing GUI
Current GUI
Data
Tabular Output
JasperBIRT
Ad Hoc Reporting Tool
Jasper XML/ jrxmlBIRT XML
Graphical Output Graphical Output
Copyright © Team #4 CSCI 6838 Spring 2007
12
Use Case Diagram
Report Viewer
Administrator
Ad Hoc Graphical Reports
Generates the Area of Interest
Sets the BIRT/JASPER charts to user
Select the Area Of Interest,
Select options forthe report
Select the Chart and Give input parameters for chart
View Graphical Report
13
+getAreaOfInterest();
+setAreaOfInterest();
+setDataSource();
+getDataSource();
…………..
……………..
+getReportResults();
ReportDefinition
AreaOfInterest
Datasource, querry, versionnumber,…..
mCategory, mLabel, vColumn, vjoinConditions..
+getColumnReference(String columnQName);
+getTableReference(String tableQName);
+getReportDatabases();
ReportManager
<<Interface>>Report Charts
+getAvailableCharts();
+setparam(String paramName, object paramValue);+getparam(String paramName):Object+CreateChartXML():String+getParamChartType(String ChartType);+viewopchart(String XMLloc ):image
ReportChart rc; +rc.setChartType(String ChartName, cvalue); +rc.getChartType(String Chartname): Chart +rc.getAvailableCharts();+rc. setparam(String paramName, object paramValue);+rc.getparam(String paramName):Object+rc.getParamChartType(String ChartType);+rc.viewopchart(String XML loc):imageJasper BIRT
<<Implements>>
<<Implements>>
paramName, chart types, paramValue……
paramName, charttypes, paramValue……
14
Report Viewer
ReportManager
Report Charts
Report Definition
Area OfInterest
request AOI request AOI
generate AOIforward AOI to Report Viewer
Admin
Sets Jasper/BIRT
charts
Request chartsGive available
charts
Returns tabular data info
Returns Java object with tabular output
Creates the chart XML & returns
output
Returns set of available charts
Presents the available charts
Select chart and give input
parameters
Accept the input
parameters
Output chart
ready in HTML
Copyright © Team #4 CSCI 6838 Spring 2007
23
Jasper Reports
JasperReports is a powerful open source Java reporting tool that has the ability to deliver rich GRAPHICAL content onto the screen, to the printer or into PDF, HTML, XLS, CSV and XML files.
Available Charts in Jasper:
Copyright © Team #4 CSCI 6838 Spring 2007
24
BIRT
BIRT is an open source Eclipse-based reporting system that integrates with your Java/J2EE application to produce compelling Graphical reports.
Available Charts in BIRT:
Copyright © Team #4 CSCI 6838 Spring 2007
25
How To Do: A very basic Diagram
Java CodeRuntime
Jasper / BIRTEngine
Graphical Report
Current Tool
Generated Jasper / BIRT understood XML
Copyright © Team #4 CSCI 6838 Spring 2007
26
Implementation Challenges
Identifying the correct JDK version to run the pre-compiled classes in the deployment package
JBoss Application Server – outdated jar file was provided (jtds 0.9 to jtds 1.2)
Current tool required SQL Server Authentication (not the default Windows Authentication) for connecting to the database
SQL Server 2005 Network Configuration has TCP/IP protocol disabled by default - which needed to be enabled
Copyright © Team #4 CSCI 6838 Spring 2007
27
Refinement According to Initial requirements, the XML part needed modification
TieFlow Data Data Formatting in Report XML Report
formatted data
Requirements were refined to bypass the XML.
Factory Method design is used.
Copyright © Team #4 CSCI 6838 Spring 2007
28
Conclusion and Future Work
The required classes to be extended have been identified
Sequential flow of the process is well understood
Understanding the XML format. More research on the existing package is needed
Developing the required classes
Modifying the User Interface
Copyright © Team #4 CSCI 6838 Spring 2007
30
Development TeamTeam Leader: Prathyusha Patinjaryil
Research & Design: All
Webmaster: Augustine Patil Abdul Hafeez
Database Administrator: Nikhila Reddy Chilkamarri
Testing & Debugging: All
Developers: All
Documentation: All
Copyright © Team #4 CSCI 6838 Spring 2007
31
References
JBoss At Work, http://today.java.net/pub/a/today/2005/03/01/InstallingJBoss.html
Reporting in JAVA using JasperReports http://members.lycos.co.uk/oderin/tutorials/JavaReporting/JavaR http://jasperforge.org/sf/projects/jasperintelligence http://
www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=showcat&catid=9 http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-opensourceprofile.html
BIRT http://www.eclipse.org/resources/ http://www.onjava.com/pub/a/onjava/2006/07/26/deploying-birt.html http://www.theserverside.com/tt/articles/article.tss?l=EclipseBRT