DB Schema Design and Programming

28
Environment Evaluation Course Plan 1 of 13 DB Schema Design and Programming Project Course hohenstein@cs.uni-kl.de AG Heterogene Informationssysteme Fachbereich Informatik Technische Universität Kaiserslautern Summer Semester 2019 AG Heterogene Informationssysteme DB Schema Design and Programming Michael Hohenstein Michael Hohenstein

Transcript of DB Schema Design and Programming

Environment Evaluation Course Plan

1 of 13

DB Schema Design and ProgrammingProject Course

[email protected]

AG Heterogene InformationssystemeFachbereich Informatik

Technische Universität Kaiserslautern

Summer Semester 2019

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael HohensteinMichael Hohenstein

Environment Evaluation Course Plan

Groups 2 of 13

Groups

dbgrp01akarlicz kwolf

dbgrp02sbarbaro mmeister

dbgrp03trachel hschmidt

...

I groups of two/threeI usernames with at most 8 le�ersI username = first le�er of first given

name + first 7 le�ers of last surnameI character substitutions (e.g., ö→ oe)I initial random password will be sent

by email

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Server 3 of 13

Lara - Practical Course Server

I lara.cs.uni-kl.deI SSH access allowed from the internetI terminals located within the practical

room 36-324 (limited!)

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Information 4 of 13

Information

I https://github.com/dbprak/dbprak/wiki

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Information 5 of 13

Virtual Machine Image

I VM Image provided with a ready-to-go (Linux-based) developmentenvironment

I Uses Oracle VirtualBoxI Includes DB GUI frontend, Eclipse

for JEE, SSH Tunnel, and auxiliaryscripts

I Check the Wiki!

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Tools 6 of 13

Tools

I One DB per group: dbgrp〈nr〉I Connect on port 55010I Initially emptyI Schemas may be freely createdI See Wiki for instructions

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 7 of 13

Worksheets and Submissions

I 4 worksheets: 100 points in totalI submission is done online for each group

I until 23:59:59 (absolutely strict!)

I before making wrong assumptions, ASK !I cheating, e.g., copying from other participants, is prohibited!

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 8 of 13

Submission

PRISE: Practical Course Interactive Submission Environment

I solution for each tasksubmi�ed separately

I system immediatelytells whether answeris correct

I if wrong answer, ex-pected result is shownfor comparison

I no half points given

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 8 of 13

Submission

PRISE: Practical Course Interactive Submission Environment

I solution for each tasksubmi�ed separately

I system immediatelytells whether answeris correct

I if wrong answer, ex-pected result is shownfor comparison

I no half points given

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 8 of 13

Submission

PRISE: Practical Course Interactive Submission EnvironmentI solution for each task

submi�ed separatelyI system immediately

tells whether answeris correct

I if wrong answer, ex-pected result is shownfor comparison

I no half points given

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 8 of 13

Submission

PRISE: Practical Course Interactive Submission EnvironmentI solution for each task

submi�ed separatelyI system immediately

tells whether answeris correct

I if wrong answer, ex-pected result is shownfor comparison

I no half points given

NOT to be used as development tool!

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 9 of 13

Ge�ing Help

1. Check tips on the Wiki

2. Check DB2 documentation and ask Google

3. General mailing list: [email protected]. Tutors mailing list: [email protected]. O�ice hours for asking questions in person:

I With Max Gilbert: room 36-334(with appointment set via email)

I cannot help you with:I Java and SQLI Se�ing up the DB and running queries/programsI Problems in your local environment

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 9 of 13

Ge�ing Help

1. Check tips on the Wiki

2. Check DB2 documentation and ask Google

3. General mailing list: [email protected]. Tutors mailing list: [email protected]. O�ice hours for asking questions in person:

I With Max Gilbert: room 36-334(with appointment set via email)

I cannot help you with:I Java and SQLI Se�ing up the DB and running queries/programsI Problems in your local environment

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 9 of 13

Ge�ing Help

1. Check tips on the Wiki

2. Check DB2 documentation and ask Google

3. General mailing list: [email protected]. Tutors mailing list: [email protected]. O�ice hours for asking questions in person:

I With Max Gilbert: room 36-334(with appointment set via email)

I cannot help you with:I Java and SQLI Se�ing up the DB and running queries/programsI Problems in your local environment

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 9 of 13

Ge�ing Help

1. Check tips on the Wiki

2. Check DB2 documentation and ask Google

3. General mailing list: [email protected]

4. Tutors mailing list: [email protected]. O�ice hours for asking questions in person:

I With Max Gilbert: room 36-334(with appointment set via email)

I cannot help you with:I Java and SQLI Se�ing up the DB and running queries/programsI Problems in your local environment

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 9 of 13

Ge�ing Help

1. Check tips on the Wiki

2. Check DB2 documentation and ask Google

3. General mailing list: [email protected]. Tutors mailing list: [email protected]

5. O�ice hours for asking questions in person:I With Max Gilbert: room 36-334

(with appointment set via email)

I cannot help you with:I Java and SQLI Se�ing up the DB and running queries/programsI Problems in your local environment

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 9 of 13

Ge�ing Help

1. Check tips on the Wiki

2. Check DB2 documentation and ask Google

3. General mailing list: [email protected]. Tutors mailing list: [email protected]. O�ice hours for asking questions in person:

I With Michael Hohenstein: room 36-340 (withappointment set via email)

I cannot help you with:I Java and SQLI Se�ing up the DB and running queries/programsI Problems in your local environment

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 9 of 13

Ge�ing Help

1. Check tips on the Wiki

2. Check DB2 documentation and ask Google

3. General mailing list: [email protected]. Tutors mailing list: [email protected]. O�ice hours for asking questions in person:

I With Micheal Hohenstein: room 36-340 (withappointment set via email)

I cannot help you with:I Java and SQLI Se�ing up the DB and running queries/programsI Problems in your local environment

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 10 of 13

Estimated E�ort

From experience: most students underestimate the required e�ortto complete the course!

I course is recommended for Master Students and advancedBachelor Students (lecture Datenbanksysteme)

I you should dedicate 10-15 hours per weekI if limited knowledge of SQL/Java, more hours are needed (very

common!)

If you think it’s too hard and want to quit:I it’s OK! Nobody will get mad. . .I please tell us and your partner as soon as possible

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 10 of 13

Estimated E�ort

From experience: most students underestimate the required e�ortto complete the course!

I course is recommended for Master Students and advancedBachelor Students (lecture Datenbanksysteme)

I you should dedicate 10-15 hours per weekI if limited knowledge of SQL/Java, more hours are needed (very

common!)

If you think it’s too hard and want to quit:I it’s OK! Nobody will get mad. . .I please tell us and your partner as soon as possible

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 10 of 13

Estimated E�ort

From experience: most students underestimate the required e�ortto complete the course!

I course is recommended for Master Students and advancedBachelor Students (lecture Datenbanksysteme)

I you should dedicate 10-15 hours per week

I if limited knowledge of SQL/Java, more hours are needed (verycommon!)

If you think it’s too hard and want to quit:I it’s OK! Nobody will get mad. . .I please tell us and your partner as soon as possible

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 10 of 13

Estimated E�ort

From experience: most students underestimate the required e�ortto complete the course!

I course is recommended for Master Students and advancedBachelor Students (lecture Datenbanksysteme)

I you should dedicate 10-15 hours per weekI if limited knowledge of SQL/Java, more hours are needed (very

common!)

If you think it’s too hard and want to quit:I it’s OK! Nobody will get mad. . .I please tell us and your partner as soon as possible

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 10 of 13

Estimated E�ort

From experience: most students underestimate the required e�ortto complete the course!

I course is recommended for Master Students and advancedBachelor Students (lecture Datenbanksysteme)

I you should dedicate 10-15 hours per weekI if limited knowledge of SQL/Java, more hours are needed (very

common!)

If you think it’s too hard and want to quit:

I it’s OK! Nobody will get mad. . .I please tell us and your partner as soon as possible

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 10 of 13

Estimated E�ort

From experience: most students underestimate the required e�ortto complete the course!

I course is recommended for Master Students and advancedBachelor Students (lecture Datenbanksysteme)

I you should dedicate 10-15 hours per weekI if limited knowledge of SQL/Java, more hours are needed (very

common!)

If you think it’s too hard and want to quit:I it’s OK! Nobody will get mad. . .

I please tell us and your partner as soon as possible

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Submissions 10 of 13

Estimated E�ort

From experience: most students underestimate the required e�ortto complete the course!

I course is recommended for Master Students and advancedBachelor Students (lecture Datenbanksysteme)

I you should dedicate 10-15 hours per weekI if limited knowledge of SQL/Java, more hours are needed (very

common!)

If you think it’s too hard and want to quit:I it’s OK! Nobody will get mad. . .I please tell us and your partner as soon as possible

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Schedule 11 of 13

Schedule

Four Worksheets (4 weeks each)

1. SQL Programming and Object-Relational Schemas(April 23 - May 19)

2. Views, Triggers, and Stored Procedures(May 13- June 9)

3. JDBC, Schema metadata, XML Schema(June 3 - June 30)

4. JSON API for Online Shopping(June 24 - July 21)

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Colloquium 12 of 13

ColloquiumI oralFour examinations:

I Check understanding of concepts presented in worksheetsI Check balance of e�ort among group members (grade is individ-

ual)

Colloquiums : Worksheets

≈ 40 : 60

To pass the db project, each group has to get 60% of the total score ineach worksheet and each group member has to get 50% of the totalscore in each colloquium.

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein

Environment Evaluation Course Plan

Content 13 of 13

Next Steps

1. Now: Building groups

2. Today: Receive user accounts and worksheet 1

3. April 29: Open PRISE for worksheet 1

Ask now!

AG Heterogene Informationssysteme

DB Schema Design and Programming

Preliminary version – April 8, 2018

Michael Hohenstein