-
Notifications
You must be signed in to change notification settings - Fork 91
Deployment in a Development Environment
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
If you are running Ubuntu in a Virtual Computer, you need to install VNC Server.
Download the Netbeans with JDK bundle and install following instructions. Install all JavaEE plugins.
Download glassfish 4.1.2 server and unzip to a folder.
Clone the project with Netbeans.
Open Netbeans and configure the glassfish server and MySQL.
Locate the persistance.xml and configure database.
Run the project and the web application will start in a browser window.
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.