Working with Microsoft Excel spreadsheets and Microsoft Access databases in a Java application Sean Sullivan July 27, 2006.

Slides:



Advertisements
Similar presentations
Microsoft Excel 2002 Microsoft Excel is a powerful spreadsheet program that helps you to organize data complete calculations make decisions graph data.
Advertisements

Excel XBRL mappers Steering Committee,
Introduction to Microsoft Excel 97 Vivien Hall CCS.
How do we work better in Microsoft Excel?. Our Data Source We enter data Somebody gives us the data We research and import the data.
OpenOffice: Basics. What is OpenOffice.org? Software product: A suite of 6 programs that perform the same or similar tasks as those in Microsoft Office.
Connect to Excel Spreadsheet with an OLE DB Connection.
Alternative FILE formats
© Blackboard, Inc. All rights reserved. Enhancing the BB calendar with Microsoft Excel Batch Import and Export Peter Jacobs Catholic University Leuven.
ACCESS PART 2. Objectives Database Tables Table Parts Key Field Query and Reports Import from Excel Link to Excel.
Microsoft Access Exporting Access Data and Mail Merging.
Computers Are Your Future © 2008Prentice-Hall, Inc.
Pour plus de modèles : Modèles Powerpoint PPT gratuitsModèles Powerpoint PPT gratuits Page 1 INTRODUCTION TO EXCEL LANDMARK UNIVERSITY COLLEGE.
2.4 – Generic Software What do we mean by the term “generic software”? Examples of generic software Integrated applications and suites Features of generic.
Presenter notes: This Microsoft Excel presentation is a prepackaged solution for basic Excel training. You may use the presentation as-is or customize.
Rye City School District  Using Google Docs allows you to create documents, presentations, spreadsheets, forms and drawings to share, collaborate.
Copyright © 2001 Sean C. Sullivan* Third party trademarks are property of their respective owners Data Synchronization with SyncML * and sync4j Sean C.
Pasewark & Pasewark 1 Access Lesson 6 Integrating Access Microsoft Office 2007: Introductory.
1 Access Lesson 6 Integrating Access Microsoft Office 2010 Introductory Pasewark & Pasewark.
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Apache POI for Content Management
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
© Paradigm Publishing, Inc. 5-1 Chapter 5 Application Software Chapter 5 Application Software.
OpenOffice.org Alternative to Microsoft Office. 06/24/10 Steve Costello - BRCS2 What is OpenOffice.org?  Suite of Programs  Word Processor - Writer.
Microcomputer Fundamentals Computer Class This class is designed for first-time computer users. Over the next several weeks, we will discuss how computers.
Matrix Mapping Tool Sam Gross Internship at Virtual Technology Corporation.
WINTER Template Poor Obfuscation Implementation POI 01 MS Excel.
Copyright © 2007 People-OnTheGo Word, PowerPoint, and SharePoint Office 2007.
Year 9 Business & Enterprise Competition. Lesson Aims: Collate and process data from your questionnaire Present information in a suitable format Draw.
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
File Name Extensions Computer Applications 7th grade.
Microsoft FrontPage 2003 Illustrated Complete Using Office Components.
JBoss Developer Studio BIRT Plugin. BIRT - Business Intelligence and Reporting Tools. BIRT plugin for JBoss Developer Studio is an Eclipse-based open.
CSE Introduction to Computing Concepts. Outline  What is an application program?  What is Excel?  Creating a Simple Workbook  Writing Formulas.
PWG D OCUMENT L IBRARY PWG Meeting March 24, 2010.
How can we optimize our working in Microsoft Excel?
1 Overview of JasperReport Dec 27, Current Reporting Library iText for PDF report generation iText is a powerful PDF generation engine How can.
Apache Jakarta Project. What is Jakarta’s mission Jakarta is a Project of the Apache Software Foundation, charged with the creation and maintenance of.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Office Integration Outlook –SharePoint lists in outlook –Documents in outlook InfoPath.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Spreadsheets the basics. Readings n As per Module 5.
Microsoft Office Excel By : Juan Pratama Anandika Year : 7 Project Presentation : ICT.
Excel and Data Analysis. Excel can be a powerful tool for analysis Excel provides many tools for analyzing data –Filtering –Sorting –Formulas –Charts.
Google docs Jenny Smiley. Google docs overview What can you create in Google docs? o documents o spreadsheets o presentations o drawings o forms Work.
Office 2003: Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 13 – Importing and Exporting Data.
After completing this lesson, you will be able to: Identify the basic features of productivity programs. Lesson: 1 Introduction to Productivity Programs.
Tutor: Gerry Mc Cann Basic Computer Study for academic Skills.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Excel Project 1 Creating a Worksheet and an Embedded Chart.
Apache POI Dima Ionut Daniel.
Microcomputer Fundamentals Computer Class This class is designed for first-time computer users. Over the next several weeks, we will discuss how computers.
Sualeh Fatehi. Schema discovery tool  “grep” through your schema  Create schema diagrams  Lint your schema  Infer table relationships  Interact with.
The power of Power Pivot Cristian Nicola DynamicsBIGuide.com.
CFUNITED – The premier ColdFusion conference Another Look at Microsoft Office Using Apache Jakarta POI Jeremy Lund June 28th, 2006.
Ontology Application Management (OAM) Framework User Tutorial Part 1: Database to Ontology Mapping & Semantic Search System.
10 Questions and Answers about.
Alternative to Microsoft Office
Ontology Application Management (OAM) Framework User Tutorial
Office 365 Development July 2014.
Getting started with Power BI and Dynamics CRM
Generic Software What do we mean by the term “generic software”?
USING SOFTWARE TO PROCESS WORDS, PUBLICATIONS, GRAPHICS, COMMUNICATION AND DATA ANALYSES CHAPTER 5.
5/22/2018 3:04 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
The July 2007 Title I Teaching in the 21st Century learning experience
Selenium Automation Framework
Capabilities of Software
Microsoft FrontPage 2003 Illustrated Complete
1) What is a Database? A database is an organized collection of information about a subject. Examples: Address Book, Telephone Book.
João Poças, Methodology and Information Systems Department
1) What is a Database? A database is an organized collection of information about a subject. Examples: Address Book, Telephone Book.
Microcomputer Applications
Level II – Intermediate
Presentation transcript:

Working with Microsoft Excel spreadsheets and Microsoft Access databases in a Java application Sean Sullivan July 27, 2006

This presentation is available at

Introduction Jakarta POI project Jackcess project Demo: web application Demo: Swing application Overview

Java class library for reading and writing Microsoft Office documents Apache License Jakarta POI

Read/write OLE2 Compound Document Format Read/write Microsoft Office documents XLS PPT DOC Not supported MDB VSD POI features

Who is using Jakarta POI?

POIFS: low-level file I/O HSSF: Horrible Spreadsheet Format HWPF: Horrible Word-processing Format HSLF: Horrible Slide Format HPSF: Horrible Property Set Format DDF: Dreadful Drawing Format POI terminology

Microsoft Excel file format 222 pages!

Packages org.apache.poi.hssf org.apache.poi.hssf.eventusermodel org.apache.poi.hssf.usermodel Core classes HSSFWorkbook HSSFSheet HSSFRow HSSFCell HSSFCellStyle Working with XLS files

Demo: Hello HelloPoi.java

Yes! HSSFCell getCellFormula setCellFormula("formulaString") HSSFFormulaEvaluator evaluate(HSSFCell) Can I use formulas?

Macros - must load from a template XLS file Charts - limited support Pivot tables - not supported Other POI topics

Java class library for reading and writing MDB files developed by Health Market Science Inc. LGPL requires JRE 1.5 or higher Jackcess project

Read/write Microsoft Access MDB files * Copy ResultSet to MDB table Copy CSV file to MDB table Jackcess features * Microsoft Access 2000 only

Package: com.healthmarketscience.jackcess Core classes: Database Table Column DataType Jackcess API

Hello Jackcess Database db = Database.open(new File("demo.mdb")); for (String tname: db.getTableNames()) { Table t = db.getTable(tname); Map row; while ((row = t.getNextRow()) != null) { for (String colName : row.keySet()) { System.out.println(row.get(colName)); }

Eclipse 3.2 WebTools 1.5 Subversion 1.3.x Subclipse 1.1.x Tomcat Firefox Maven Web application demo POI 3.0 alpha 2 Jackcess OpenCSV 1.5 Wicket 1.2 Derby Log4j Sun JDK 1.5

javax.swing.JTable javax.swing.table.TableModel Jakarta POI Swing demo

Summary Use POI to read/write XLS files Use Jackcess to read/write MDB files This presentation