No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Build Status


A simple example that explains how to start Undertow server integrated for Bootique.

For additional help/questions about this example send a message to Bootique forum.


  • Java 1.8 or newer.
  • Apache Maven.

Build the Demo

Here is how to build it:

git clone
cd bootique-undertow-demo
mvn package

Run the Demo

Now you can check the options available in your app:

java -jar target/bootique.undertow.demo-1.0-SNAPSHOT.jar

Option                                              Description
------                                              -----------    
-c yaml_location, --config=yaml_location            Specifies YAML config location, which can be a file path or a URL.

-h, --help                                          Prints this message.

-H, --help-config                                   Prints information about application modules and their configuration options.

-s, --server                                        Starts Undertow server. 

Run Undertow server:

java -jar target/bootique.undertow.demo-1.0-SNAPSHOT.jar

Then open http://localhost:8080/api/ to do GET/POST requests on the server.

In the example one can also find some jUnit tests.