CS122B Winter 2019: Projects in Databases and Web Applications

Time: T/Th 3:30 pm – 4:50 pm (Check the UCI Calendar for holiday information)
Location: SSH 100.

Staff Office Hours Place Email
Instructor: Chen Li Tu/Th 2:15 - 3:15 pm DBH 2092 chenli AT
Dayue Bai dayueb AT
Qiushi Bai Fri 9-10 ICS 464C qbai1 AT
Yicong Huang yicongh1 AT
Avinash Kumar Mon 2-3 ICS2 214 avinask1 AT
Baihao Wang baihaow AT
Zuozhi Wang Wed 11-12 ICS 464B zuozhiw AT


No. Date Notes
01 01/08/19, Tu Notes01: Introduction, Course Overview, Setup AWS, Setup MySQL, JDBC Example, Setup Scripts
02 01/10/19, Th JDBC Example, Notes02: ODBC, Tomcat Example, Tomcat on AWS
03 01/15/19, Tu Notes03: Micro-services architecture, api-example, MySQL/Tomcat Logging
04 01/17/19, Th Notes04: Git Overview, Using Github, Javascript/JQuery Overview
05 01/22/19, Tu Project 2 Overview, Project 2 Example, HTTP GET/POST, "Cookie Idea" in Movie Memento
06 01/24/19, Th Session (Login/Cart), Notes05: Pagination/Caching/Sort/Search/Browse
07 01/29/19, Tu Notes06: Web architectures, CGI, JSP example, ASP
08 01/31/19, Th Servlet lifecycle, Quiz 1
09 02/05/19, Tu Project 3 overview, reCAPTCHA (Code, Notes08-PPT)
10 02/07/19, Th HTTPS, Prepared Statement, Password encryption, Stored Procedures
11 02/12/19, Tu Notes09-XML, XML SAX/DOM Parsers
12 02/14/19, Th Batch Insert (Prepared statement, Auto Commit), Notes10-Transactions, Load data file, Notes07-Domain registration
13 02/19/19, Tu Project 4 Overview, Notes11-FT Search, FT search example, Autocomplete Example
14 02/21/19, Th Android Programming, 2019w-project4-android-example
15 02/26/19, Tu Android Activity, Android Activity Lifecycle, Quiz 2
16 02/28/19, Th edit distance, Notes12-UDF, UDF Example, Psearch
17 03/05/19, Tu Project 5 Overview, MySQL Replication
18 03/07/19, Th Tomcat Replication, Google Cloud Platform
19 03/12/19, Tu Connection Pooling, JMeter
20 03/14/19, Th Course wrap up, research projects, Quiz 3

Online Discussion

Please signup on GradeScope as a student using your UCI email, UCI ID, and use the code sent through Piazza to enroll into the course.

Projects (Subject to change)

Project Topic Days Due Date Weight Grading Rubrics Demo Signup
Project 1 MySQL creation, JDBC, Tomcat, AWS, Starting Fabflix 13 days Week 3 Monday, 01/21 20% P1 Rubric P1 Demo
Project 2 Developing Fabflix Website Example1 Example2 14 days Week 5 Monday, 02/04 20% P2 Rubric P2 Demo
Project 3 reCaptcha, HTTPS, Stored Procedure, XML Parsing 14 days Week 7 Monday, 02/18 20% P3 Rubric P3 Demo
Project 4 Full Text Search, Autocomplete, Android, Fuzzy Search 14 days Week 9 Monday, 03/04 20% P4 Rubric P4 Demo
Project 5 Scaling Fabflix 14 days Final Week Monday, 03/18 20% P5 Rubric

The project grading percentages add up to 100%, all projects worth 88% out of the total grade.


  • Quiz 1: Jan. 31, Thursday
  • Quiz 2: Feb. 26, Tuesday
  • Quiz 3: Mar. 14, Thursday

Course Information


This course exposes students to advanced programming concepts and provides students with a greater focus on using DBMS techniques to build Web-based applications. It is intended for two purposes: (1) It introduces students to the modern data management techniques including database connectivity, Web application development, extending database functions, database administration, and XML. (2) It teaches students how to use these technologies to build real-world applications. The course builds on CS122A, which introduces students to the classical relational databases and SQL programming.

Using Cloud Services

We will heavily use cloud services (Amazon AWS and Google Cloud Platform) in the course. You are expected to launch instances on AWS to deploy some of the projects you are developing. AWS provides free-tier 64-bit Ubuntu instances! In addition, you are welcome to participate in the AWS Educate program, which can provide $100 AWS credits per student. We will provide more instructions about how to use their services to deploy your projects. We will also use Google Cloud Platform (GCP) as well, which provides $300 free trial credits at Google Cloud Free Trial.


You should have taken CS122A or an equivalent course. In addition, you should have a reasonable understanding of core computer science concepts, good familiarity with relational databases (equivalent of CS122A), good programming skills in Java, skills to learn other programming languages, and familiarity with basic undergraduate-level operating system concepts. Above all, you need to have a positive attitude towards learning, no inhibitions about working in groups and learning from each other. If you are not sure whether you meet requirements, do talk to the instructor after the first lecture to make sure you are ready to take this course.

Grading Breakdown

Projects: 88%
In-class Quizzes: 11%
Participation in EEE Class Evaluation: 1%

For all the graded projects and exams, if you disagree with the grading, you can discuss with us within two weeks after they are returned. After that, all the grades will be finalized.

For each project demo, we assume each group can provide their own computing environment (either a laptop or a remote desktop) to show the demo. If you cannot provide such an environment, please let us know before the demo, so that we can find a solution.


Many online tutorials.

Using Other Domains

Our main projects are using the movie domain, with provided schemas, data, and required functionalities. Students are encouraged to choose another domain you are familiar with, and use this domain to develop the projects. If you make this choice, the projects can be more fun! At the same time, it also requires additional effort to come up with schemas (comparable to the movie database), sample data, and similar features. Since later projects rely on earlier ones, you cannot change the domain in the middle of the quarter. As a reward, we will give 5% extra credit to each of the five projects. Please specify this decision clearly in your first submission. Students need to make the complexity of their proposed projects comparable to Fabflix. Otherwise, we reserve the rights to deduct points. Also please make sure NOT to do the project for other non-CS122B obligations. You are highly recommended to talk to us before deciding the domain to use.

Using Github

You are required to use Github to manage your source code. Here are the instructions.

Working in Groups

Working together on projects is strongly encouraged. You can form groups of no more than 2 (two) students and submit one homework solution per group making sure that the names of all the group members appear on the first page. Work in groups will be graded on a per group basis.

Students may leave their existing group in the quarter. But they cannot join any new group after the end of the second week. For each group splitting, the group members should tell the instructor at least two weeks before the corresponding project/homework deadline. From the previous quarters, we saw quite a few students who worked alone first but found out the workload was much higher than they initially expected. Thus, please seize the opportunity of the first two weeks to find good teammates to work together.


The top 2 students who made the most contributions to Piazza (e.g., providing high-quality answers, decided by the staff) will receive 1% extra credit each on the overall grade.

Project Late Policy

  • The official due date for each assignment is listed here on the wiki, and it is expected that students will turn the work in on or before that date.
  • We will offer a 24-hour grace period for each assignment, and will therefore accept submissions turned in within 24 hours of the due date, with a 10-point penalty. It's 10 points, not 10 percent. For example, if your late project got 87 points, then your real score will be 87-10=77 points. Notice that EEE will only keep the latest submission. If so you submit or resubmit the project after the deadline, it will be considered as a late submission.
  • Late assignments will NOT be accepted beyond the grace period, so do always aim to be on time! Please don't even ask, as this is what the 1-day grace period is intended for.

Policy on Academic Honesty

All students will be expected to adhere to the UCI and ICS Academic Honesty policies (see read their details). Any student found to be involved in cheating or aiding others in doing so will be academically prosecuted to the maximum extent possible: that means you will fail this course. Just say no to cheating!

In case you reuse another party's source code for certain generic tasks (e.g., JDBC access) make sure you explicitly comment on its origin in your source code.

Project Overview

Last modified 5 years ago Last modified on Mar 13, 2019 10:33:25 PM

Attachments (15)