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
- Host: GitHub
- URL: https://github.com/daggerok/microprofile-examples
- Owner: daggerok
- License: mit
- Created: 2019-03-29T21:08:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T22:21:07.000Z (over 1 year ago)
- Last Synced: 2025-01-10T00:44:05.585Z (5 months ago)
- Topics: 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
- Language: Java
- Size: 219 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microprofile-examples [](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:starthttp :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 libertyStarthttp :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)