-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.java
29 lines (26 loc) · 1.1 KB
/
App.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package com.we.dvdlibrary;
/**
*
* @author Cirũ Franklin (she/they), Software Engineer
* @course DI002 Full Stack Development Using Java and React (2210)
* @project Assessment: DVD Library
*
* @description This project is a DVD Library application that
* allows users to create, read, update, and delete DVDs within
* a library, using files for storage persistence
*/
import com.we.dvdlibrary.ui.UserIOConsoleImpl;
import com.we.dvdlibrary.controller.DvdLibraryController;
import com.we.dvdlibrary.dao.DvdLibraryDaoFileImpl;
public class App {
public static void main(String[] args) {
//Through the constructors we have specifed within the necessary classes, we
//are able to implement dependency injection within our code
DvdLibraryController controller = new DvdLibraryController(new UserIOConsoleImpl(), new DvdLibraryDaoFileImpl());
controller.run();
}
}