31
Integration und Anwendung von BIRT im Product Lifecycle Management (PLM) Vortrag zu den Chemnitzer Linux-Tagen 2011 Dipl.-Inf. Chris Hübsch, ARC Solutions GmbH

Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

Embed Size (px)

Citation preview

Page 1: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

Integration und Anwendung von BIRT im Product Lifecycle

Management (PLM)

Vortrag zu den

Chemnitzer Linux-Tagen 2011

Dipl.-Inf. Chris Hübsch, ARC Solutions GmbH

Page 2: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 2

ARC Solutions GmbH

• Servicepartner von Siemens PLM für NX und Teamcenter

• Entwicklungspartner PTC (Pro Engineer), CAD Schroer (Medusa), PIT (pit fm)

• Eigenes REMARC® MultiCAD ComponentFramework für Wiederverwendung & Standardisierung

� Informatik für Maschinenbauer

Page 3: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 3

Gliederung

I. Teamcenter als PLM System1. Product Lifecycle Management2. Funktionsweise von Teamcenter

II. Reporting mit BIRT1. Zweck des Reporting2. Funktionsweise von BIRT

III. Kopplung Teamcenter � BIRT1. Realisierung2. Live-Demo

Page 4: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 4

Entstehung

Entwicklung

I.1. Product Lifecycle Management

Produkt-planung

Entw.Konstr.

Herstellung

Arbeits-planung

Fertigung

Nutzung

Montage

Entsorgung

VertriebBetriebService

Recycling

Feedback

fertigungsgerecht, kostengerecht,

funktionsgerecht,entsorgungsgerecht,

Page 5: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 5

Warum Management?

• Zunahme Variantenvielfalt

• Steigende Produktkomplexität

• Kürzere Lebenszyklen

• Kürzere Lieferzeiten

• Größere Dokumentenvielfalt

• Nachweispflichten (ISO 9000!)

• …

Page 6: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 6

Gründe für IT-Unterstützung

• Unstrukturierte Datenablage

• Prozesse papiergestützt und daher langsam und unflexibel

• Änderungen werden nicht (rechtzeitig) propagiert

• Gesamtzustand des Produktes nicht erkennbar

Page 7: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 7

Vereinfachtes Datenmodell

Item

Revision

Dataset

CAD-Modelle

Formular

TXT

IMG+

*

1

*

**

*

…Versionierung

Stücklisten

Relationen

Page 8: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 8

Page 9: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 9

Kernfunktionen

• Dokumentenmanagement • Zugriffsverwaltung • Produktbenennung und -klassifizierung• Produktstrukturmanagement • Freigabe- und Änderungsmanagement • Varianten- und Alternativenmanagement • Workflowmanagement• …

Page 10: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 10

I.2. Teamcenter

• Produkt von Siemens PLM Software

• 90% aller Firmen mit mehr als 1000 PLM Arbeitsplätzen nutzen Teamcenter

• Anwender in D: Bosch, Daimler, KBA, Opel, Siemens, VW, …

Page 11: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 11

Datenmodell

• Item, ItemRevision, Dataset, Form

• Zusätzlich für PLM– User, Gruppen, Rollen, Organisationen– Folder, Projekte– TaskTemplates, Prozesse– Stati

• Metadaten werden in DB (POM) gespeichert• Hierarchisch-objektorientiertes Modell

Page 12: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 12

TC Server

Systemarchitektur

TC Client

Rich Client FCC

DB Server

DB

DBMS

tcshare

Vol Server

Volume

FSC

TC Client

Thin Client

App-Server

Ser

ver-

Man

ager

FSC

tcservertcserver

tcserver

Verteilung auf beliebig viele Rechner für

Redundanz und Skalierung

Page 13: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 13

Demo

Page 14: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 14

II.1. Zweck des Reporting

• Report: Zusammenfassung von Informationen mit visueller Aufbereitung

• Allgemein: Unterstützung der Entscheidungsfindung

• Zusätzlich im PLM-Umfeld: Dokumentation von Entwicklungsständen (Stücklisten)

Page 15: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 15

Report-Generator

• Programm zur Erzeugung der Reports- Reports fest implementiert � beliebig konfigurierbar

- Eine Datenquelle � Aggregation mehrerer Quellen

- Erzeugung: Interaktiv � Automatisiert

- Desktop Programm � Web-Applikation

Datenquelle

Vorlage

ReportReport-Generator

Page 16: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 16

Datenquellen

• Datenbanken nativ (SQL)• Datenbanken via ODBC/JDBC• Textdateien (CSV u.ä.)• XML-Dateien• Webservices• Spezielle APIs

• Alternative: Alles ins „Data Warehouse“

Page 17: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 17

Verarbeitung

• Sortieren

• Gruppieren

• Filtern

• Umformen

• Verknüpfen

• Statistische Berechnungen

Page 18: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 18

Ausgabeformate

• Text, CSV, HTML

• Spreadsheet (XLS)

• PDF

• XML

• …

• LiveViewer

• Web-Ausgabe

Page 19: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 19

Produkte

• Crystal Reports (SAP)

• Oracle Reports

• Jasper Reports (LGPL)

• BIRT (EPL)

Page 20: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 20

II.2. BIRT

• Business Intelligence and Reporting Tools– Grafischer Editor

• Visuelle Erstellung von Report-Templates

• RCP Plugins / Anwendung

– Runtime• Erzeugung von Reports aus Templates

• Dokument-Generatoren

• Chart Engine

• Java Bibliothek

Page 21: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 21

Report-Designs

• Eine XML-Datei pro Design

• Data Sources

• Data Sets

• Data Cubes

• Parameter/Variable

• Body (Layout)

• Styles

• Images

• Library-Referenzen

Page 22: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 22

Report Items

• Werden im Layout positioniert

• Greifen auf Datasets zu

• Können per CSS formatiert werden

Page 23: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 23

Demo

Page 24: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 24

III.1. Realisierung

• BIRT nutzt OpenDataAccess (ODA) um auf Datenquellen zuzugreifen

• Anbindung von Teamcenter mit einem Driver

• Definierte Extension-Points für:– Datenzugriff– User Interface

• Eclipse-Projekt-Templates helfen bei Implementierung

Page 25: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 25

ODA-Source

IDrivercreateConnection

IConnectionnewQuery

getMetaData

IDataSetMetaData

IQuerygetMetaData

execute

IResultSetMetaData

IResultSet

Page 26: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 26

Modelltransformation

ODA „denkt“ in Tabellen

Teamcenter ist keine Tabelle

� Definition einer Query als Einsprungpunkt

� Auswahl von zu verwendenden Attributen

� Selektoren zur Navigation in Relationenen

Page 27: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 27

SOA-API

• Gruppieren der Funktionen in Services

• Service implementiert Interfaces

• Mit jeder neuen TC-Version weitere Interfaces

• i.d.R. komplexe Eingabe-/Ausgabe-objekte

• WSDL-Files (leider sehr komplex)

• .NET, C++, Loose / Strong JavaAPI

Page 28: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 28

Services

• administration, ai, allocations, asbuilt, authorizeddataaccess, bom, businessmodeler, cad, calendarmanagement, changemanagement, classification, core, documentmanagement, globalmultisite, importexport, manufacturing, multisite, productionmanagement, projectmanagement,query, rdv, reports, requirementsmanagement, structuremanagement, translation, vendormanagement,wireharness, workflow

• Z.B. Core-Paket:– DataManagementService, DispatcherManagementService,

FileManagementService, LOVService, ManagedRelationsService, ProjectLevelSecurityService, PropDescriptorService, ReservationService, SessionService, StructureManagementService

Page 29: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 29

BeispielSavedQueryService queryService =

SavedQueryService.getService(Session.getConnection());

ImanQuery query = null;

GetSavedQueriesResponse savedQueries = queryService.getSavedQueries();

for (int i = 0; i < savedQueries.queries.length; i++)

if (savedQueries.queries[i].name.equals("Item Name")) {

query = savedQueries.queries[i].query; break;

}

String[] entries = new String[1];

entries[0] = "Item Name";

String[] values = new String[1];

values[0] = "*";

ExecuteSavedQueryResponse found = queryService.executeSavedQuery(query, entries, values, 10);

Session.printObjects( found.objects );

Page 30: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 30

III.2. Live-Demo

Page 31: Integration und Anwendung von BIRT im Product Lifecycle ...chemnitzer.linux-tage.de/2011/vortraege/folien/754_BIRT_ARC.pdf · 20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch

20.3.2011 (c) ARC Solutions GmbH, Dipl.-Inf. Ch. Hübsch 31

Ende

• Fragen?