Development Using a Docker Container¶
Introduction¶
FWD can be used without installing it directly on your development machine. This can be accomplished by using a Docker image designed for software developers and provided by Golden Code.
This document provides information on how to accomplish a range of processes using this container. The order naturally builds from first to last. This means that the later processes depend upon some or all of the earlier processes to have been completed in advance. This can be used for different project types (ChUI, GUI, batch, appserver, REST, SOAP. WebSpeed/WebHandler). Where applicable, a sample conversion project called Hotel ChUI or Hotel GUI are used as examples. Your conversion project would be substituted into these commands.
Step By Step Guide¶
| # | Document | Description | Frequency | Dependencies |
|---|---|---|---|---|
| 0 | Worksheet | A table with placeholders used in the next steps. | One Time | n/a |
| 1 | OS Environment Setup for Docker | Setup OS-level prerequisites, such as the installation of Docker. | One Time | n/a |
| 2 | Docker Development Environment Setup | Download the FWD Development Docker image. | Once initially and then again when the Docker image needs to be updated. | 1 |
| 3a | Using a FWD Docker Image | Use an existing FWD docker image, with FWD pre-built. | Once initially and then again when the version of FWD needs to be updated. | 2 |
| 3b | Build FWD Using Docker | Create a local build of FWD which can be used inside the Docker Development container. | Once initially and then again when the version of FWD needs to be updated. | 2 |
| 4 | Conversion Project Setup Using Docker | Creates a local copy of the Conversion Project. It starts with configurations and scripts to automate converting and running the application using FWD. Additionally, the process will place the source code and schemata in the right project locations. | Once initially and then again if there are changes to the shared copy. | 3 |
| 5 | IDE Setup on Docker Host | Setup your IDE to work with the conversion project and your application's 4GL and Java code. | One Time | 4 |
| 6 | Generating Reports and Using Analytics Using Docker | Generate reports that can be accessed via the FWD Analytics server. It also includes details of how to run and access the Analytics server. | Whenever the 4GL code or schemata change. | 4 |
| 7 | Converting the Application Using Docker | Run a Full Conversion, an Incremental Conversion or a Schema-Only Conversion. | Whenever the 4GL code or schemata changes. | 4 |
| 8 | Runtime Setup Using Docker | Configure the runtime environment. | Whenever the configuration changes (DB from H2 to PostgreSQL, log file/spawner locations changes, etc) | 7 |
| 9 | Database Import Using Docker | Create, import and reset the database. | When you need to reset the database to a known dump. | 8 |
| 10 | Starting the Runtime Environment in Docker | This is the process to start the FWD application server, the batch processes and the database server. These must be started before any Open Client code or Unit Tests can be executed. | Whenever you need to execute the converted application. | 9 |
| 11 | Debugging the Converted Application in Docker | Connect your IDE on the Docker host to the FWD server or clients which are running in the Docker container. | Whenever you need to diagnose problems or look deeply inside the runtime system's state and logic. | 5, 10 |
© 2004-2026 Golden Code Development Corporation. ALL RIGHTS RESERVED.