Starter code for Week 06 Workshop for Web Forms.
Folders:
├── /src/main - Location of all files as required by build configuration
│ ├── java - Java Source location
│ │ └── app - package location for all Java files
│ └── resources - Web resources (html templates / style sheets)
│ ├── css - CSS Style-sheets
│ └── images - Image files
│
├── /target - build directory (DO NOT MODIFY)
├── /database - The folder to store sqlite database files (*.db files)
├── pom.xml - Configure Build (DO NOT MODIFY)
└── README.md - This file ;)
Current Libraries
- org.xerial.sqlite-jdbc (SQLite JDBC library)
- javalin (lightweight Java Webserver)
Libraries required as dependencies
- By javalin
- slf4j-simple (lightweight logging)
- By xerial/jdbc
- sqlite-jdbc
- Open this project within VSCode
- Allow VSCode to read the pom.xml file
- Allow the popups to run and "say yes" to VSCode configuring the build
- Allow VSCode to download the required Java libraries
- To Build & Run
- Select the "Launch App" launcher profile from the VSCode Run/Debugger
- Alternatively, open the src/main/java/app/App.java source file, and select "Run" from the pop-up above the main function
- Go to: http://localhost:7001
- ONLY modify the files which you are allowed to edit. The other files are placed in important places to make our "big software project" work.
- DO NOT move the Java files from the
src/main/java/app
folder. These Java files need to be in this location to ensure our "big software project" works.
The .devcontainer
folder contains configuration files for GitHub Codespaces.
This ensures that when the GitHub classroom is cloned, the workspace is correctly configured for Java (V16) and with the required VSCode extensions.
This folder will not affect a local VSCode setup on a computer.
🚨 DO NOT MODIFY THE CONTENTS OF THIS FOLDER. 🚨
- COSC3056 teaching team, School of Science and Technologies, RMIT Vietnam.
- Dr. Timothy Wiley, School of Computing Technologies, STEM College, RMIT University.
- Prof. Santha Sumanasekara, School of Computing Technologies, STEM College, RMIT University.
Copyright RMIT University (c) 2023