This project is a Java application that allows users to create, view, edit, and delete student records using a relational database (PostgreSQL) and CSV file storage. It follows the Model-View-Controller (MVC) design pattern to separate concerns and enhance maintainability.
- Write Java applications that interact with relational databases.
- Implement CRUD (Create, Read, Update, Delete) operations for student records.
- Utilize the MVC design pattern to structure the application.
- Connect to the PostgreSQL database named
a07students_yourname(replaceyournamewith your username). - Execute the SQL scripts in the following order:
/home/faculty/chogg/Public/366/a07students/DDL.sql/home/faculty/chogg/Public/366/a07students/smallRelationsInsertFile.sql
- Set a password for your database account using the command:
- Use Eclipse IDE for Java Developers for development.
- Download the latest PostgreSQL JDBC driver from PostgreSQL JDBC Download.
- Create a
libfolder in your Eclipse project and add the JDBC driver there. - Ensure that the driver is included in your Java Build Path.
- Run the
Lab07Mainclass to start the application. - Choose whether to use the PostgreSQL database or the CSV file for storing student records.
- Select between a graphical (Swing) or console interface for user interaction.
- CRUD Operations: Create, Read, Update, and Delete student records.
- Data Sources: Supports both PostgreSQL database and CSV file storage.
- User Interface: Provides both a Swing GUI and a console-based interface for user interaction.
- Java Development Kit (JDK) 8 or higher.
- PostgreSQL database.
- Eclipse IDE for Java Developers.
This project was developed as part of the CSCI 366 course at Millersville University.
This project is licensed under the MIT License - see the MIT LICENSE file for details.