Skip to content

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

  1. 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.

  2. 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 the JavaETL folder.

    Using VSCode

    1. Navigate to FileOpen Folder, and select srcJavaETL folder.
    2. Inside the JavaETL folder, locate the config.json file.
    3. Edit config.json and click Save.

    Using Eclipse

    1. Navigate to FileOpen File, and select srcJavaETL folder.
    2. Inside the JavaETL folder, locate the config.json file.
    3. Edit config.json and click Save.
  3. From your Terminal, select the folder where your project is located, such as JavaETL, and run mvn clean install (optional) and java -jar target/etl.jar.

How to check

File sample.csv created training requests

Things to explore