jadmin: remote database admin tool. introduction growing demand for large scale, multi-user...

20
jAdmin: Remote database admin tool

Post on 22-Dec-2015

220 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

jAdmin:Remote database admin tool

Page 2: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Introduction

• Growing demand for large scale, multi-user applications– Persistent, efficient, data storage

• Databases!

• With databases come tools to use them

Page 3: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Motivation

• Major database admin tools– MyPHPAdmin– iSQL*Plus– Microsoft Access

Page 4: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

My Project

• jAdmin– Remote database admin tool– Designed for “newbie” users unfamiliar with

databases and their tools

Page 5: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Goals

• User-friendly!– Intuitive, graphical interface– Minimalistic design– Take the load off the user

Page 6: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

What should it do?

• All the standard things…– Table creation & viewing– Data entry– SQL query handling

• And more!– Guided queries

Page 7: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Technology

• Java 5.0– Swing package– SQL package

• MySQL Server

• MySQL Connector/J

Page 8: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Design

• Table view (data entry mode)

• SQL query handling

• Guided queries

• Table creation

Page 9: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Design

• Main window

Page 10: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Toolbar

• Buttons v. menu

Page 11: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Main frame

• Houses display

Page 12: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Table view

• Most integral part

• Houses all data

• Data entry

Page 13: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

SQL query

• Query handling

Page 14: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Guided query

• Designed for users unfamiliar with SQL

• Uses drop down menus to allow users to structure their own basic SQL queries

Page 15: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Table creation

• Access-like creation

Page 16: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Data entry

• Double click and type!

• Data validation as you type

Page 17: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Behind-the-scenes

• Data validation– Type formatting– Constraints

• Local data changes updated to database

Page 18: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Demo!

Page 19: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Future work

• Finish constraints– Foreign keys– Auto-increment?

• More extensive guided queries

• DBMS independence– Type 3 JDBC driver

Page 20: JAdmin: Remote database admin tool. Introduction Growing demand for large scale, multi-user applications –Persistent, efficient, data storage Databases!

Thoughts

• Start earlier!