Skip to content

Deployment in a Development Environment

Dr. M H B Ariyaratne edited this page Oct 10, 2020 · 19 revisions

The java web application is working as the web interface, the code and the API. It needs the following components.

  • Server (Physical Server / Cloud Virtual Machine)
  • Operating System - Ubuntu 18.04 LTS preferred
  • Java Development Environment - JDK 1.8 preferred
  • Application Server - Payara 5 (Other include GlassFish, Tomee, Weblogic. )
  • Database - MySQL 5.7 preferred (Others include MariaDB, PostgreSQL)
  • Integrated Development Environment - Netbeans preferred

Ubuntu

VNC Server

If you are running Ubuntu in a Virtual Computer, you need to install VNC Server.

Netbeans IDE

Install Netbeans

Install MariaDB and configure (Recommended)

Install MySQL and configure

Netbeans

Download the Netbeans with JDK bundle and install following instructions. Install all JavaEE plugins.

GlassFish

Download glassfish 4.1.2 server and unzip to a folder.

Clone Project

Clone the project with Netbeans.

Configure Netbeans

Open Netbeans and configure the glassfish server and MySQL.

Locate the persistance.xml and configure database.

Run the Project

Run the project and the web application will start in a browser window.

MS-Windows

Download a database like MySQL or MariaDB and install it following instructions. Install Netbeans for JavaEE. Clone Project. Configure a database. Run the project and web application will appear in a browser.

Clone this wiki locally