Draft version

We will start by introducing the first, draft version of the service, which we will examine and extend later.

Examples reference: chapter3/catalog-service-jaxrs.

As in the preceding chapter, we have to start with the pom.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 http://maven.apache.org/xsd/maven-4.0.0.xsd">    <modelVersion>4.0.0</modelVersion>    <groupId>org.packt.swarm.petstore</groupId>    <artifactId>catalog-service-jaxrs</artifactId>    <version>1.0</version>    <packaging>war</packaging>    (...)        <dependencies>        <!-- 1 -->        <dependency>            <groupId>org.wildfly.swarm</groupId> <artifactId>jaxrs</artifactId> ...

Get Hands-On Cloud Development with WildFly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.