integrating hypermedia functionality into database applications anirban bhaumik * +, deepti dixit *,...

39
Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik* + , Deepti Dixit*, Roberto Galnares*, Manolis Tzagarakis**, Michalis Vaitis**, Michael Bieber*, Vincent Oria*, Aparna Krishna*, Qiang Lu* / ***, Firas Aljallad*, Li Zhang* * Collaborative Hypermedia Laboratory, CIS Department, NJIT, USA ** Computer Technology Institute, University of Patras, Greece *** Suzhou University, Peoples Republic of China

Post on 21-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Integrating Hypermedia Functionality into Database Applications

Anirban Bhaumik*+,

Deepti Dixit*, Roberto Galnares*, Manolis Tzagarakis**, Michalis Vaitis**,

Michael Bieber*, Vincent Oria*, Aparna Krishna*,

Qiang Lu*/***, Firas Aljallad*, Li Zhang*

* Collaborative Hypermedia Laboratory, CIS Department, NJIT, USA

** Computer Technology Institute, University of Patras, Greece*** Suzhou University, Peoples Republic of China

Page 2: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Outline (research agenda)• Motivation• DHE - Dynamic Hypermedia Engine• Basic DB query interface• Schema support• DB application support• Integrating multiple database applications• Data warehousing• Data mining• Database Design: Relationship Analysis

current

future

Page 3: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Motivation

• Most database applications have few links• Each element could have multiple links

(relationships)• Each element is a potential starting point for

exploring

• Research Goal: automatically adding links and services to database applications

Page 4: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic Hypermedia Engine

• Automatically generate links and other “hypermedia” services for applications:

• comments, guided tours, etc.

• Automatically integrate applications through external linking

Page 5: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Main Application Frame

List of LinksMetadataMenus

Page 6: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Shipping I nformation

http : / /www.nj i t .edu/purchasing /shipping-info rmat ion.htm

251 Requisition Header - Shipping and Text STRATEGIC SUPPLIES INTERN'L 71 UNION AVE Screen: Vend: V0000304390 PR: R010294 Inv: Line:

Deliver-to Address FOB: Name: MICHAEL BIEBER Rte: Org: NJIT, CIS DEPARTMENT Delivery Service: UPS Addr: 323 ML KING BLVD Delivery Date: 03-12-2000

City: NEWARK St: NJ Zip: 07102 Country: USA Phone: 973 596 2681 Ext: Requisition Codes: 58 128 PUX ZY2 Requisition Text:

Document Notes: NSample Screen from Purchasing System:all text with no links...

Page 7: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Shipping I nformation

http : / /www.nj i t .edu/purchasing /shipping-info rmat ion.htm

251 Requisition Header - Shipping and Text STRATEGIC SUPPLIES INTERN'L 71 UNION AVE Screen: Vend: V0000304390 PR: R010294 Inv: Line:

Deliver-to Address FOB: Name: MICHAEL BIEBER Rte: Org: NJIT, CIS DEPARTMENT Delivery Service: UPS Addr: 323 ML KING BLVD Delivery Date: 03-12-2000

City: NEWARK St: NJ Zip: 07102 Country: USA Phone: 973 596 2681 Ext: Requisition Codes: 58 128 PUX ZY2 Requisition Text:

Document Notes: NDHE automatically generates anchorsas the screen is created

Page 8: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Shipping I nformation

http : / /www.nj i t .edu/purchasing /shipping-info rmat ion.htm

251 Requisition Header - Shipping and Text STRATEGIC SUPPLIES INTERN'L 71 UNION AVE Screen: Vend: V0000304390 PR: R010294 Inv: Line:

Deliver-to Address FOB: Name: MICHAEL BIEBER Rte: Org: NJIT, CIS DEPARTMENT Delivery Service: UPS Addr: 323 ML KING BLVD Delivery Date: 03-12-2000

City: NEWARK St: NJ Zip: 07102 Country: USA Phone: 973 596 2681 Ext: Requisition Codes: 58 128 PUX ZY2 Requisition Text:

Document Notes: NDHE produces a list of possible linkswhen the user chooses an anchor

V0000304390

Vendor Details

Vendor Reliability

Vendor Agreements

Other Possible Vendors

Your Purchasing History

All Screens with this Vendor

Page 9: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic Hypermedia Engine

• Links generated based on application structure, not search or lexical analysis

– You cannot do a search on the display text “$127,322.12” to find related information…

– But you can find relationships for the element Sales[1997]

$85,101.99$127,322.12

1997 Expenses1997 Sales

Page 10: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

Message: DisplayDocument(Document + Elements + Element Types)

Document (or screen)

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Page 11: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Shipping I nformation

http : / /www.nj i t .edu/purchasing /shipping-info rmat ion.htm

251 Requisition Header - Shipping and Text STRATEGIC SUPPLIES INTERN'L 71 UNION AVE Screen: Vend: V0000304390 PR: R010294 Inv: Line:

Deliver-to Address FOB: Name: MICHAEL BIEBER Rte: Org: NJIT, CIS DEPARTMENT Delivery Service: UPS Addr: 323 ML KING BLVD Delivery Date: 03-12-2000

City: NEWARK St: NJ Zip: 07102 Country: USA Phone: 973 596 2681 Ext: Requisition Codes: 58 128 PUX ZY2 Requisition Text:

Document Notes: NSample Screen from Purchasing System:all text with no links...

Page 12: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Anchors

Element Types

Page 13: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Relationship Manager

Relationship Manager Rule Base...Vendor - Vendor IS - Vendor Details - {commands}Vendor - Vendor IS - Vendor Reliability - {commands}Vendor - Vendor IS - Vendor Agreements - {commands}Vendor - Purchasing Data Warehouse - Who Else Uses Vendor - {commands}Vendor - Purchasing IS - Your Purchasing History - {commands}Vendor - CASE Workbench - All Screens with this Vendor - {commands}...

Page 14: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Message: DisplayDocument(Document + Element Types + Anchors)

HTML Page

Page 15: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Shipping I nformation

http : / /www.nj i t .edu/purchasing /shipping-info rmat ion.htm

251 Requisition Header - Shipping and Text STRATEGIC SUPPLIES INTERN'L 71 UNION AVE Screen: Vend: V0000304390 PR: R010294 Inv: Line:

Deliver-to Address FOB: Name: MICHAEL BIEBER Rte: Org: NJIT, CIS DEPARTMENT Delivery Service: UPS Addr: 323 ML KING BLVD Delivery Date: 03-12-2000

City: NEWARK St: NJ Zip: 07102 Country: USA Phone: 973 596 2681 Ext: Requisition Codes: 58 128 PUX ZY2 Requisition Text:

Document Notes: NResult: application automaticallyenhanced with links and hypermedia services

Page 16: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Message:GetMetainfo("V0000304490", type = "vendor")

User Selection "V00000304390"

Page 17: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Message:DisplayMetainfo(Metadata, List of Links)

- Metadata Frame &- List of Links Frame

Relationship Manager Rule Base...Vendor - Vendor IS - Vendor Details - {commands}Vendor - Vendor IS - Vendor Reliability - {commands}Vendor - Vendor IS - Vendor Agreements - {commands}Vendor - Purchasing Data Warehouse - Who Else Uses Vendor - {commands}Vendor - Purchasing IS - Your Purchasing History - {commands}Vendor - CASE Workbench - All Screens with this Vendor - {commands}...

Page 18: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Shipping I nformation

http : / /www.nj i t .edu/purchasing /shipping-info rmat ion.htm

251 Requisition Header - Shipping and Text STRATEGIC SUPPLIES INTERN'L 71 UNION AVE Screen: Vend: V0000304390 PR: R010294 Inv: Line:

Deliver-to Address FOB: Name: MICHAEL BIEBER Rte: Org: NJIT, CIS DEPARTMENT Delivery Service: UPS Addr: 323 ML KING BLVD Delivery Date: 03-12-2000

City: NEWARK St: NJ Zip: 07102 Country: USA Phone: 973 596 2681 Ext: Requisition Codes: 58 128 PUX ZY2 Requisition Text:

Document Notes: N

V0000304390

Vendor Details

Vendor Reliability

Vendor Agreements

Who Else Uses Vendor

Your Purchasing History

All Screens with this Vendor

DHymE generates anchors and links from theRelationship Management Rule Base

Relationship Manager Rule Base...Vendor - Vendor IS - Vendor Details - {commands}Vendor - Vendor IS - Vendor Reliability - {commands}Vendor - Vendor IS - Vendor Agreements - {commands}Vendor - Purchasing Data Warehouse - Who Else Uses Vendor - {commands}Vendor - Purchasing IS - Your Purchasing History - {commands}Vendor - CASE Workbench - All Screens with this Vendor - {commands}...

Page 19: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Message:FollowLink("Your Purchasing History")

Link Selection "Your Purchasing History"

Page 20: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Relationship Manager Rule Base...Vendor - Purchasing IS - Your Purchasing History- {commands}...

Message: FollowLink( target system(Purchasing IS), command(purchasing_history( vendor(V0000304390), user(#U12)))

purchasing_history( vendor(V0000304390), user(#U12))

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

Page 21: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Dynamic HypermediaDynamic HypermediaEngine ArchitectureEngine Architecture

Message: DisplayDocument(Document + Elements + Element Types)

Document (or screen)

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

ApplicationWrapper

PurchasingApplication

Page 22: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

DHE Contributions

• Only tool that providing automated linking, metadata, and hypermedia services

– based on the application structure (not lexical analysis)

– without altering applications

– for analytical and technical applications that generate display contents dynamically

Page 23: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Basic DB Wrapper

• Provides a simple query interface

• Allows users to make SQL queries directly to a database

• Parses the results

• Passes results to the Relationship Manager to automatically add links

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

DBWrapper

RDBMS

Page 24: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Uses a persistent pool of JDBC Connection Objects to execute SQL statements and retrieve metadata.

Currently uses physical schema for metadataFuture: dedicated metadata repositories, data dictionaries

Basic DB Wrapper

• Provides a simple query interface

• Allows users to make SQL queries directly to a database

• Parses the results

• Passes results to the Relationship Manager to automatically add links

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

DBWrapper

RDBMS

Page 25: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Menus Metadata List of Links

Main Application Frame

Page 26: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Database Element TypesELEMENTS COLUMNS TABLES

INDICES CATALOGS SCHEMA

STORED

PROCEDURES

USERS USER RIGHTS

TABLE/COLUMN

PRIVILEGES

JDBC TYPES DRIVERS

Any instance of these types can be uniquely identified, have metadata, and relationships.

Page 27: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Database Element TypesELEMENTS COLUMNS TABLES

INDICES CATALOGS SCHEMA

STORED

PROCEDURES

USERS USER RIGHTS

TABLE/COLUMN

PRIVILEGES

JDBC TYPES DRIVERS

Any instance of these types can be uniquely identified, have metadata, and relationships.

Each type has its own set of generic database relationship links. For example, an element will be related to a column, its tuple’s key field & foreign keys, a table, etc.

The DB Wrapper generates these links automatically.

Page 28: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

DBWrapper

RDBMS

SchemaManager

SchemaRepository

Schema Manager

Automatically generates DB-specific links from a

machine-readable E-R schema(e.g., courses taught by a

professor)

Page 29: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis
Page 30: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis
Page 31: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis
Page 32: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

DBWrapper

RDBMS

SchemaManager

SchemaRepository

DB ApplWrapper

DBApplication

DB Application Wrapper:identifies elements in application screens

Links: DB Wrapper: basic links & DB AccessSchema Manager: E-R linksAppl Wrapper: appl-specific links

Existing applications can access database directly as before;

New applications couldlet the DB wrapper

provide all database access

Page 33: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Outline (research agenda)• Motivation• DHE - Dynamic Hypermedia Engine• Basic DB query interface• Schema support• DB application support• Integrating multiple database applications• Data warehousing• Data mining• Database Design: Relationship Analysis

current

future

Page 34: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

DBWrapper

RDBMS

SchemaManager

SchemaRepository

DB Appl 1Wrapper

DBAppl 1

DB Appl 2Wrapper

DBAppl 2

DHE can integratemultiple database applications

Each wrapper handles its own application.

Research questions in specifying related objects across applications in

mapping rules...

Page 35: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

DBWrapper

RDBMS

SchemaManager

SchemaRepository

DB Appl 1Wrapper

DBAppl 1

DB Appl 2Wrapper

DBAppl 2

DataWarehouse

Data Warehousing

The DB Wrapper could also load data into and

give other applications access to a data warehouse

Page 36: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Data MiningDHE relationships are pre-specified

in mapping rules in the Relationship Manager

and dynamically generated

A data mining tool could dynamically mine relationships for DB application elements. But how?

UserInterface

User InterfaceWrapper

MessageManager

Relationship &Metainfo Mgr

DBWrapper

RDBMS

SchemaManager

SchemaRepository

DB ApplWrapper

DBApplication

DataWarehouse

Data MiningManager

Page 37: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Database Design:Relationship Analysis (RA)

• A systematic approach to finding the implicit or “hidden” relationships in an information domain

• Relationships can be implemented as links

• RA is a brainstorming technique for domain experts based on a taxonomy of relationship types

Page 38: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Database Design:Relationship Analysis (RA)

Research Questions:

• How does RA contrast with standard database analysis?

• Can RA supplement standard database analysis

Page 39: Integrating Hypermedia Functionality into Database Applications Anirban Bhaumik * +, Deepti Dixit *, Roberto Galnares *, Manolis Tzagarakis **, Michalis

Outline (research agenda)• Motivation• DHE - Dynamic Hypermedia Engine• Basic DB query interface• Schema support• DB application support• Integrating multiple database applications• Data warehousing• Data mining• Database Design: Relationship Analysis

current

future