Skip to content
Snippets Groups Projects
Name Last commit Last update
readme
src
.gitignore
README.md
pom.xml

Setup:

Make sure java 17 is installed. Make sure that Maven 3.8.3 is installed on your computer with mvn --version. If it is not, follow the instructions here: https://maven.apache.org/install.html. Make sure you have IntelliJ Ultimate (licence from the university is free) the IDE of choice for Java installed

Run "normal" programs

Use your IDE to handle all the dependencies and just hit the play button.

running_main.png

This may be useful to test small implementations. Later on the test suite will be extended to have also a server environment for testing.

Run "server" programs

Sooner or later the functionality needs to be provided to our frontend.

A running wildfly (Jakarta EE server) will take care of that.

Checkout DemoEndpoint.java as an example for a collection of rest endpoints.

Checkout ApplicationWideCache.java as an example for CDI scoped beans (meaning the server takes care of business class creation)

Add the following run configurations to IntelliJ

Maven:

run_configuration.png

For Debug:

debug_configuration.png

Execute the maven configuration, wait until it says deployed, like so:

server_log_deployed.png

Then start the debug configuration. Now you can also debug your server application.