Catalog service
In the first chapter, you learned the basic architecture of the pet store sample application and the services that constitute it. In this and the next chapter, we will be working with the catalog service. To recall, this is the service responsible for providing the information about pets available in the store. We are going to introduce that simple functionality now. In the next three chapters, we will modify that code in order to show you different features and configuration options of WildFly Swarm. Let's look at the initial version.
Draft version
We will start by introducing the first, draft version of the service, which we will examine and extend later.
Note
Examples reference: chapter3/catalog-service-jaxrs
.
As in the preceding chapter, we have to start with thepom.xml
:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0...