Skip to content

Latest commit

 

History

History
157 lines (106 loc) · 2.51 KB

readme.adoc

File metadata and controls

157 lines (106 loc) · 2.51 KB

Codion World Demo

A demo application based on the Codion application framework.

World client

Documentation

Build the tutorial by running this Gradle target:

gradlew documentation:asciidoctor

…​and browse the tutorial here:

documentation/build/docs/asciidoc/world.html

Modules

Many of the following modules are configuration-only, that is, contain no source-code, just Gradle build files configuring the application for running and packaging.

world-domain-api

The domain model API.

world-domain

The domain model implementation.

world-client

Swing client application.

world-client-local

Configuration only. Swing client configured with a local JDBC connection.

Run

gradlew world-client-local:run
Note
The client runs with an in-memory H2 database, created on startup, so changes to data do not persist.

Package

gradlew world-client-local:jlink
gradlew world-client-local:jpackage

world-client-http

Configuration only. Swing client configured with a HTTP connection.

Run

Note
The server must be running
gradlew world-client-http:run

Package

gradlew world-client-http:jlink
gradlew world-client-http:jpackage

world-client-remote

Configuration only. Swing client configured with a RMI connection.

Run

Note
The server must be running
gradlew world-client-remote:run

Package

gradlew world-client-remote:jlink
gradlew world-client-remote:jpackage

world-server

Configuration only. A Codion server configured for the world application.

Note
The server runs with an in-memory H2 database, created on startup, so changes to data do not persist.

Configuration

The server host name and ports are configured in gradle.properties.

serverHost=localhost
serverPort=2223
serverRegistryPort=1098
serverHttpPort=8088
serverAdminPort=4445

Run

gradlew world-server:run

Package

gradlew world-server:jlink
gradlew world-server:jpackage

world-server-monitor

Configuration only. A Codion server monitor configured for the server.

Run

gradlew world-server-monitor:run

Package

gradlew world-server-monitor:jlink
gradlew world-server-monitor:jpackage