An open API service indexing awesome lists of open source software.

https://github.com/daggerok/microprofile-examples

MicroProfile examples
https://github.com/daggerok/microprofile-examples

fish jakartaee javaee javaee8 kumuluzee meecrowave micro-profile microprofile microprofile-demo microprofile-example microprofile-examples mp openliberty payara payara-micro quarkus smallrye tomee tomtribe wildfly-swarm

Last synced: 3 months ago
JSON representation

MicroProfile examples

Awesome Lists containing this project

README

        

# microprofile-examples [![Build Status](https://travis-ci.org/daggerok/microprofile-examples.svg?branch=master)](https://travis-ci.org/daggerok/microprofile-examples)
MicroProfile examples

## Micro Profiles

see `pom.xml` in [here](./maven-profiles/)

## Smallrye

see `pom.xml` and `build.gradle.kts` in [here](./smallrye-jar/)

## OpenLiberty

### maven

#### zip

_build, run and test_

```bash
./mvnw -f openliberty-maven-zip/pom.xml package liberty:start

http :9080/app1/
http :9080/app1/v1/properties

./mvnw -f openliberty-maven-zip/pom.xml liberty:stop liberty:clean-server
```

#### zip (docker)

_build_

```bash
./mvnw -f openliberty-maven-zip/pom.xml clean package
docker build -t openliberty-maven-zip -f openliberty-maven-zip/Dockerfile openliberty-maven-zip
```

_run_

```bash
docker run --name app --rm -p 9080:9080 -p 9443:9443 openliberty-maven-zip
```

_test_

```bash
http :9080/app1/
http :9080/app1/v1/properties
```

#### jar

_build_

```bash
./mvnw -f openliberty-maven-jar/pom.xml clean package
docker build -t openliberty-maven-jar -f openliberty-maven-jar/Dockerfile openliberty-maven-jar
```

_run_

```bash
docker run --name app --rm -p 9080:9080 -p 9443:9443 openliberty-maven-jar
```

_test_

```bash
http :9080/app2/
http :9080/app2/v1/properties
```

### gradle

#### zip

_build, run and test_

```bash
./gradlew -b openliberty-gradle-jar/build.gradle libertyStart

http :9080/app3/
http :9080/app3/v1/
http :9080/app3/v1/hoy

./gradlew -b openliberty-gradle-jar/build.gradle libertyStop
```

links:

* [MicroProfile starter generator](https://start.microprofile.io/)
* [GitHub: eclipse/microprofile-samples](https://github.com/eclipse/microprofile-samples/blob/master/pom.xml)
* [JakartaEE tutorial](https://eclipse-ee4j.github.io/jakartaee-tutorial/)

other JakartaEE / MicroProfile repositories:

* [GitHub: daggerok/java-mp-hammock-example](https://github.com/daggerok/java-mp-hammock-example)
* [GitHub: daggerok/java-mp-helidon-example](https://github.com/daggerok/java-mp-helidon-example)
* [GitHub: daggerok/helidon-examples](https://github.com/daggerok/helidon-examples)
* [GitHub: daggerok/helidon-mp-jpa](https://github.com/daggerok/helidon-mp-jpa)
* [GitHub: daggerok/quarkus-reactive-pg](https://github.com/daggerok/quarkus-reactive-pg)
* [GitHub: daggerok/java-mp-smallrye-kafka-example](https://github.com/daggerok/java-mp-smallrye-kafka-example)
* [GitHub: daggerok/java-mp-quarkus-example](https://github.com/daggerok/java-mp-quarkus-example)
* [GitHub: daggerok/java-mp-tomtribe-tomee-maven-example](https://github.com/daggerok/java-mp-tomtribe-tomee-maven-example)
* [GitHub: daggerok/java-mp-smallrye-example](https://github.com/daggerok/java-mp-smallrye-example)
* [GitHub: daggerok/java-mp-openliberty-gradle-example](https://github.com/daggerok/java-mp-openliberty-gradle-example)
* [GitHub: daggerok/meecrowave-example](https://github.com/daggerok/meecrowave-example)
* [GitHub: daggerok/java-ee-microservices](https://github.com/daggerok/java-ee-microservices)
* [GitHub: daggerok/kotlin-payara-micro-profile](https://github.com/daggerok/kotlin-payara-micro-profile)
* [GitHub: daggerok/payara-micro-gradle-plugin-build-script](https://github.com/daggerok/payara-micro-gradle-plugin-build-script)
* [GitHub: daggerok/payara-micro-gradle-no-plugin](https://github.com/daggerok/payara-micro-gradle-no-plugin)
* [GitHub: daggerok/payara-micro-example](https://github.com/daggerok/payara-micro-example)
* [GitHub: daggerok/kumuluzee-examples](https://github.com/daggerok/kumuluzee-examples)
* [GitHub: daggerok/thorntail-example](https://github.com/daggerok/thorntail-example)
* [GitHub: daggerok/wildfly-swarm-microservice](https://github.com/daggerok/wildfly-swarm-microservice)
* [GitHub: daggerok/wildfly-swarm-jgroups-chat](https://github.com/daggerok/wildfly-swarm-jgroups-chat)
* [GitHub: daggerok/java-ee-examples](https://github.com/daggerok/java-ee-examples)

TODO:

* [GitHub: lightbend - reactive kafka microprofile](https://github.com/lightbend/microprofile-reactive-messaging/blob/master/example/pom.xml)