Repository Layout

The source code for the activities can be found in the WildFly Swarm github repository. It contains a monolith, as well as a microservices module. The later is what we use throughout the activities.

As a first step you need to clone the git repository:

git clone https://github.com/wildfly-swarm/tutorial.git

To start the tutorial, checkout branch step_1:

cd tutorial
git checkout step_1
Note
Why not begin with step_0? This step just contains the sources for the monolith. It’s just there for comparison purposes.

Solutions to the activities

A number of branches (step_1step_n) are provided to quickly jump between the possible solutions to the different steps (see below). Use this if you get stuck or want to jump ahead to activities that are more interesting to you. These solutions provided may look slightly different to your implementation, but that’s ok and anticipated.

Table 1. Available branches with solutions
Branch Sources Compare on github

Step 1

tree/step_1

Compare

Step 2

tree/step_2

Compare

Step 3

tree/step_3

Compare

Step 4

tree/step_4

Compare

Step 5

tree/step_5

Compare

Step 6

tree/step_6

Compare