Lab 08 - Create a Java application
Duration 15 min
What you will learn
We use an example that could be some scheduled process to ETL data
Prerequisites
- Lab 07 completed
- Java installed
- Maven installed
- Internet connection
Steps
-
Download and unzip the apps-src.zip from the
source for all apps
in a folder. This folder includes all the source projects that the user may work with whenever he would like to. -
Open your IDE such as VS Code, Eclipse.
There are three folders to work with inside the
src
. There are two JavaScript folders and one Java folder to work with. The user needs to make the project folder to be the current or root folder whenever they use it with the user's IDE. Since it's Java application, use theJavaETL
folder.Using VSCode
- Navigate to File → Open Folder, and select
src
→JavaETL
folder. - Inside the
JavaETL
folder, locate theconfig.json
file. - Edit
config.json
and click Save.
Using Eclipse
- Navigate to File → Open File, and select
src
→JavaETL
folder. - Inside the
JavaETL
folder, locate theconfig.json
file. - Edit
config.json
and click Save.
- Navigate to File → Open Folder, and select
-
From your Terminal, select the folder where your project is located, such as
JavaETL
, and runmvn clean install
(optional) andjava -jar target/etl.jar
.
How to check
File sample.csv created training requests
Things to explore
-
Modify app to upload data.