Here you will find a few examples how to use the rapidpm-microservice project/framework.
build:
If you want to use Kotlin you have to activated it in your pom.xml. The compile plugin defined in the rapidpm-dependencies is prepared to handle the live-cycle. Additionally you have to add the dep into your pom.xml
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
<phase>process-sources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>test-compile</id>
<phase>process-test-sources</phase>
<goals>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
and
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
</dependency>
##example001
here we could see how to create a REST and a Servlet Service.
##example002
An example how to create e REST Service and using Kotlin for the data model.
##example003 Show an empty Service
##example004