Integrating and Extending Birt (Eclipse Series) (3TH)

Integrating and Extending Birt (Eclipse Series) (3TH)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 847 p.
  • 言語 ENG
  • 商品コード 9780321772824
  • DDC分類 005

Full Description


<>The world-wide developer community has downloaded over ten million copies of BIRT (Business Intelligence and Reporting Tools). Built on the open-source Eclipse platform, BIRT is a powerful reporting system that provides an end-to-end solution from creating and deploying reports to integrating report capabilities in enterprise applications.Integrating and Extending BIRT, Third Edition, introduces programmers to BIRT architecture and the reporting framework. BIRT technology makes it possible for programmers to build customized reports using scripting and BIRT APIs. This book also includes extensive examples of how to use the Eclipse Plug-in Development Environment to build plug-ins to extend the features of the BIRT framework. The source code for these examples is available for download at www.eclipse.org/birt.Key topics covered includeInstalling and deploying BIRT Deploying a BIRT report to an application server Understanding BIRT architecture Scripting in a BIRT report design Integrating BIRT functionality into applications Working with the BIRT extension frameworkThis revised and expanded third edition features the following new contentUpdated architectural diagrams Expanded scripting examples Debugging event handlers Developing an advanced report item with data binding Developing a data extraction extension Developing a charting extension Readers may also be interested in this book's companion volume. BIRT: A Field Guide, Third Edition, is the authoritative guide to using BIRT Report Designer, the graphical tool that enables users of all levels to build reports, from simple to complex, without programming.

Contents

Foreword xix Preface xxiAcknowledgments xxixPart 1: Installing and Deploying BIRT 1Chapter 1: Introducing BIRT Report Designers 3Understanding BIRT components 3Understanding Eclipse BIRT packages 4About types of BIRT builds 5Chapter 2: Installing a BIRT Report Designer 7Installing BIRT Report Designer Full Eclipse Install 7Installing BIRT RCP Report Designer 8Troubleshooting installation problems 9Installing a language pack 10Updating a BIRT Report Designer installation 11Updating BIRT RCP Report Designer installation 12Chapter 3: Installing Other BIRT Packages 15Installing Chart Engine 15Installing BIRT Data Tools Platform Integration 17Installing BIRT Demo Database 17Installing Report Engine 19Installing BIRT Samples 21Installing BIRT Source Code 21Installing BIRT Web Tools Integration 22Chapter 4: Deploying a BIRT Report to an Application Server 25About application servers 25Placing the BIRT report viewer on an application server 26Placing fonts on the application server 31Viewing a report using a browser 31Using connection pooling on Tomcat 32Part 2: Understanding the BIRT Framework 37Chapter 5: Understanding the BIRT Architecture 39Understanding the BIRT integration 39About the BIRT applications 43About the types of BIRT report items 46About the Report Object Model (ROM) 47About the types of BIRT files 47About custom Java applications 49About extensions to BIRT 50Chapter 6: Understanding the Report Object Model 51About the ROM specification 51About the ROM schema 53About the rom.def file 53Understanding ROM elements 58Part 3: Scripting in a Report Design 61Chapter 7: Using Scripting in a Report Design 63Overview of BIRT scripting 63Events overview 64Event order sequence 71Chapter 8: Using JavaScript to Write an Event Handler 83Using BIRT Report Designer to enter a JavaScript event handler 83Using the reportContext object 86Using the this object 93Using the row object 96Getting column information 97Getting and altering the query string 98Changing data source connection properties 99Getting a parameter value 100Determining script execution sequence 101Tutorial 1: Writing an event handler in JavaScript 103JavaScript event handler examples 107Calling external JavaScript functions 111Calling Java from JavaScript 112Calling the method of a class in a plug-in 114Chapter 9: Using Java to Write an Event Handler 117Writing a Java event handler class 117Writing a Java event handler 123Understanding the BIRT interfaces 128Java event handler example 135Debugging a Java event handler 142Chapter 10: Working with Chart Event Handlers 143Chart events overview 143Understanding the Chart script context 145Understanding when chart events fire 150Writing a Java chart event handler 164Writing a JavaScript chart event handler 167Using the simplified charting API 169Chapter 11: Using Scripting to Access Data 173Using a Scripted Data Source 173Tutorial 2: Creating a scripted data source 175Creating a web services data source using a custom connection class 184Chapter 12: Debugging Event Handlers 187Checking the syntax of JavaScript expressions 188Debugging JavaScript event handlers code 190Debugging Java event handler code 194Debugging report execution exceptions 194Creating a debug configuration 196Tutorial 3: Debugging a report that contains Java and JavaScript code 198Part 4: Integrating BIRT into Applications 215Chapter 13: Understanding the BIRT APIs 217Package hierarchy diagrams 218About the BIRT Report Engine API 219About the Design Engine API 226About the BIRT Chart Engine API 239Chapter 14: Programming Using the BIRT Reporting APIs 257Building a reporting application 258Generating reports from an application 262Programming the structure of a report design 289Chapter 15: Programming Using the BIRT Charting API 307About the chart engine contents 307About the environment for a charting application 308About the charting API and the chart structure 310Using the charting API to create a new chart 312Modifying chart properties 312Using a chart item in a report design 321Using the BIRT charting API in a Java Swing application 334Understanding the chart programming examples 340Part 5: Working with the Extension Framework 347Chapter 16: Building the BIRT Project 349About building the BIRT project 349Installing a working version of BIRT 350Configuring Eclipse to compile BIRT and build the viewer JAR files 350Downloading and extracting the correct version of the BIRT source code 353Importing, building, and testing the BIRT project 354Building new JAR files to display BIRT output 356Chapter 17: Extending BIRT 359Overview of the extension framework 359Understanding the structure of a BIRT plug-in 359Working with the Eclipse PDE 366Creating the structure of a plug-in extension 370Creating the plug-in extension content 373Building a plug-in extension 377Deploying the extension plug-in 381Downloading the code for the extension examples 384Chapter 18: Developing a Report Item Extension 387Understanding a report item extension 387Developing the sample report item extension 389Understanding the rotated label report item extension 404Deploying and testing the rotated label report item plug-in 412Developing an advanced report item 416Chapter 19: Developing a Report Rendering Extension 465Understanding a report rendering extension 465Developing a CSV report rendering extension 466Developing an XML report rendering extension 494Chapter 20: Developing an ODA Extension 509Understanding an ODA extension 510Developing the CSV ODA driver extensions 511Implementing the CSV ODA driver plug-in 513Understanding the sample CSV ODA driver extension 522Developing the CSV ODA user interface extension 530Understanding the sample CSV ODA user interface extension 537Testing the CSV ODA user interface plug-in 548Developing a Hibernate ODA extension 554Chapter 21: Developing a Data Extraction Extension 601Understanding a data extraction extension 601Developing an XML data extraction extension 602Chapter 22: Developing a Fragment 635Understanding a fragment 635Developing the sample fragment 636Creating a fragment project 637Understanding the sample fragment 640Building, deploying, and testing a fragment 641Chapter 23: Developing a Charting Extension 647About BIRT charting extension points 648Setting up the build environment 650Extending the chart model 652Glossary 707Index 779

最近チェックした商品