Java Programming using Files and Databases

I.     Course Prefix/Number: CIS 222

       Course Name: Java Programming using Files and Databases

       Credits: 4 (3 lecture; 2 lab)

II.    Prerequisite


III.   Course (Catalog) Description

Course provides students, who already have an understanding of Java programming basics, with knowledge of file and database programming using Java.  Students will write Java programs that update random access files and write Java programs that connect to a database (e.g. Microsoft Access).  Database concepts and the Structured Query Language (SQL) to provide access to data will be covered. Recommended: CIS211 OR programming experience or consent of the instructor or program coordinator.

IV.   Learning Objectives

Upon completion of this course, the student should be able to design, develop, code, execute, and debug programs using Java commands (instructions) to solve business-related problems; these programs will:

  1. Create and update random access files
  2. Create and update tables in relational databases (e.g. Access) and SQL Server using Java technologies
  3. Display results (output) in a flat file, CSV files, or a report
  4. Use Structured Query Language (SQL) to access data in relational databases

V.    Academic Integrity and Student Conduct

Students and employees at Oakton Community College are required to demonstrate academic integrity and follow Oakton's Code of Academic Conduct. This code prohibits:

• cheating,
• plagiarism (turning in work not written by you, or lacking proper citation),
• falsification and fabrication (lying or distorting the truth),
• helping others to cheat,
• unauthorized changes on official documents,
• pretending to be someone else or having someone else pretend to be you,
• making or accepting bribes, special favors, or threats, and
• any other behavior that violates academic integrity.

There are serious consequences to violations of the academic integrity policy. Oakton's policies and procedures provide students a fair hearing if a complaint is made against you. If you are found to have violated the policy, the minimum penalty is failure on the assignment and, a disciplinary record will be established and kept on file in the office of the Vice President for Student Affairs for a period of 3 years.

Please review the Code of Academic Conduct and the Code of Student Conduct, both located online at

VI.   Sequence of Topics

  1. Data Files/Tables
    1. File organization and concepts in a Java relational database
      1. Sequential Data Files
      2. Random Access Data Files
    2. Database Concepts
      1. Relational database and other database structures
      2. Designing a relational database
      3. Modifying the structure
    3. Database connectivity
    4. Structured Query Language
      1. Select
      2. Update
      3. Create table
      4. Delete
      5. Insert
      6. Reordering a table record set
    5. Multi-table relationships
    6. Create user interface
    7. Display results (output)
    8. Validation and error trapping
    9. Database application deployment

VII.  Methods of Instruction

  1. Lecture
  2. Hands-on demonstrations
  3. Group and individual projects
  4. Class discussion

Course may be taught as face-to-face, hybrid or online course.

VIII. Course Practices Required

Read course materials and reference manuals provided by or suggested by the instructor.  Attend and participate in class lecture and lab.  Complete required graded programming assignments.

IX.   Instructional Materials

Note: Current textbook information for each course and section is available on Oakton's Schedule of Classes.

Current textbook information for each course and section is available on Oakton's Schedule of Classes

X.    Methods of Evaluating Student Progress

Programming assignments written in class and outside of class, completion of lab assignments, and quizzes and exams as determined by the instructor

XI.   Other Course Information

If you have a documented learning, psychological, or physical disability you may be entitled to reasonable academic accommodations or services. To request accommodations or services, contact the Access and Disability Resource Center at the Des Plaines or Skokie campus. All students are expected to fulfill essential course requirements. The College will not waive any essential skill or requirement of a course or degree program.

Oakton Community College is committed to maintaining a campus environment emphasizing the dignity and worth of all members of the community, and complies with all federal and state Title IX requirements.

Resources and support for
  • pregnancy-related and parenting accommodations; and
  • victims of sexual misconduct
can be found at

Resources and support for LGBTQ+ students can be found at

Electronic video and/or audio recording is not permitted during class unless the student obtains written permission from the instructor. In cases where recordings are allowed, such content is restricted to personal use only. Any distribution of such recordings is strictly prohibited. Personal use is defined as use by an individual student for the purpose of studying or completing course assignments.

For students who have been approved for audio and/or video recording of lectures and other classroom activities as a reasonable accommodation by Oakton’s Access Disabilities Resource Center (ADRC), applicable federal law requires instructors to permit those recordings. Such recordings are also limited to personal use. Any distribution of such recordings is strictly prohibited.

Violation of this policy will result in disciplinary action through the Code of Student Conduct.