Quarkus: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 61: Line 61:
* [https://micronaut.io/2020/04/07/micronaut-vs-quarkus-vs-spring-boot-performance-on-jdk-14/ Micronaut vs Quarkus vs Spring-boot]
* [https://micronaut.io/2020/04/07/micronaut-vs-quarkus-vs-spring-boot-performance-on-jdk-14/ Micronaut vs Quarkus vs Spring-boot]
* [https://quarkus.io/guides/security-customization Quarkus Security Customization]
* [https://quarkus.io/guides/security-customization Quarkus Security Customization]
* [https://quarkus.io/blog/quarkus-for-spring-developers/ Quarkus for Spring Developers]
* [https://quarkus.io/guides/deploying-to-kubernetes Quarkus Kubernetes Extension]
* [https://quarkus.io/guides/deploying-to-kubernetes Quarkus Kubernetes Extension]
* [https://quarkus.io/guides/security Quarkus Security Architecture]
* [https://quarkus.io/guides/security Quarkus Security Architecture]

Revision as of 23:21, 25 August 2021

git clone https://github.com/quarkusio/quarkus-quickstarts.git
cd ./quarkus-quickstarts/getting-started

export PATH=$JAVA11_HOME/bin:$PATH
export JAVA_HOME=$JAVA11_HOME

mvn compile quarkus:dev
mvn package

Maven Artifact

mvn io.quarkus:quarkus-maven-plugin:2.1.3.Final:create \
    -DprojectGroupId=org.chorke.academia.rest \
    -DprojectArtifactId=getting-started \
    -DclassName="org.chorke.academia.rest.getting.started.GreetingResource" \
    -Dpath="/hello"
cd getting-started

After Build

: '
 ./quarkus-quickstarts/getting-started/target/
 ─────────────────────────────────────────────
   ├─ quarkus/bootstrap/test-app-model.dat
   ├─ quarkus-artifact.properties
   └─ quarkus-app/
      ├─ app/getting-started-1.0.0-SNAPSHOT.jar
      ├─ quarkus-app-dependencies.txt
      ├─ quarkus-run.jar
      ├─ quarkus/
      │  ├─ generated-bytecode.jar
      │  ├─ quarkus-application.dat
      │  └─ transformed-bytecode.jar

      └─ lib/
         ├─ main/
         └─ boot/
            ├─ io.quarkus.quarkus-development-mode-spi-2.1.3.Final.jar
            ├─ io.smallrye.common.smallrye-common-io-1.6.0.jar
            ├─ org.graalvm.sdk.graal-sdk-21.1.0.jar
            ├─ org.jboss.logging.jboss-logging-3.4.2.Final.jar
            ├─ org.jboss.logmanager.jboss-logmanager-embedded-1.0.9.jar
            └─ org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar
'

java -jar target/quarkus-app/quarkus-run.jar

Configuring

quarkus.banner.path=/META-INF/chorke/academia.txt
quarkus.banner.enabled=false

References