December 2019
Intermediate to advanced
314 pages
6h 51m
English
Before running the example, make sure you have bootstrapped the PostgreSQL database; otherwise, the initial statements will fail when the application is deployed:
$ docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 --name quarkus_test -e POSTGRES_USER=quarkus -e POSTGRES_PASSWORD=quarkus -e POSTGRES_DB=quarkusdb -p 5432:5432 postgres:10.5
Then, run the application as usual with the following command:
mvn install quarkus:dev
The UI hides the fact that we have switched from plain objects to a real database, though you can work out that this has happened from the page title, which is now Quarkus Vert.X PgPool Example:
However, if you log in to the database container, you verify sure that the Customer ...
Read now
Unlock full access