# quarkus-hello-world
This project uses Quarkus, the Supersonic Subatomic Java Framework.
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .
## Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```shell script
./mvnw compile quarkus:dev
```
> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
## Packaging and running the application
The application can be packaged using:
```shell script
./mvnw package
```
It produces the `quarkus-run.jar` file in the `target/quarkus-app/` directory.
Be aware that it’s not an _über-jar_ as the dependencies are copied into the `target/quarkus-app/lib/` directory.
The application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`.
If you want to build an _über-jar_, execute the following command:
```shell script
./mvnw package -Dquarkus.package.type=uber-jar
```
The application, packaged as an _über-jar_, is now runnable using `java -jar target/*-runner.jar`.
## Creating a native executable
You can create a native executable using:
```shell script
./mvnw package -Dnative
```
Or, if you don't have GraalVM installed, you can run the native executable build in a container using:
```shell script
./mvnw package -Dnative -Dquarkus.native.container-build=true
```
You can then execute your native executable with: `./target/quarkus-hello-world-1.0.0-SNAPSHOT-runner`
If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.
## Related Guides
- RESTEasy Reactive ([guide](https://quarkus.io/guides/resteasy-reactive)): A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it.
## Provided Code
### RESTEasy Reactive
Easily start your Reactive RESTful Web Services
[Related guide section...](https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources)
没有合适的资源?快使用搜索试试~ 我知道了~
quarkus-hello-world
共37个文件
xml:8个
lst:4个
java:4个
需积分: 0 1 下载量 13 浏览量
2024-03-11
16:08:38
上传
评论
收藏 455KB ZIP 举报
温馨提示
Quarkus HelloWorld 基础框架模版
资源推荐
资源详情
资源评论
收起资源包目录
01-quarkus-hello-world.zip (37个子文件)
01-quarkus-hello-world
mvnw.cmd 7KB
pom.xml 4KB
src
test
java
org
acme
GreetingResourceIT.java 207B
GreetingResourceTest.java 433B
main
resources
application.properties 0B
META-INF
resources
index.html 240KB
java
org
acme
GreetingResource.java 303B
docker
Dockerfile.native 706B
Dockerfile.legacy-jar 5KB
Dockerfile.native-micro 931B
Dockerfile.jvm 5KB
.mvn
wrapper
maven-wrapper.properties 1018B
maven-wrapper.jar 61KB
MavenWrapperDownloader.java 3KB
.gitignore 18B
.idea
jarRepositories.xml 845B
codeStyles
codeStyleConfig.xml 149B
Project.xml 263B
workspace.xml 5KB
misc.xml 563B
compiler.xml 718B
.gitignore 0B
encodings.xml 261B
target
classes
application.properties 0B
META-INF
resources
index.html 240KB
org
acme
GreetingResource.class 571B
build-metrics.json 71KB
test-classes
org
acme
GreetingResourceIT.class 399B
GreetingResourceTest.class 1KB
quarkus
bootstrap
maven-status
maven-compiler-plugin
compile
null
createdFiles.lst 0B
inputFiles.lst 115B
testCompile
null
createdFiles.lst 0B
inputFiles.lst 236B
generated-test-sources
test-annotations
generated-sources
annotations
mvnw 11KB
.gitignore 396B
.dockerignore 75B
README.md 2KB
共 37 条
- 1
资源评论
一杯黑咖啡
- 粉丝: 89
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Javascript和Python的微商城项目设计源码 - MicroMall
- 基于Java的网上订餐系统设计源码 - online ordering system
- 基于Javascript的超级美眉网络资源管理应用模块设计源码
- 基于Typescript和PHP的编程知识储备库设计源码 - study-php
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
- 基于Dart的Flutter小提琴调音器APP设计源码 - violinhelper
- 基于JavaScript和CSS的随寻订购网页设计源码 - web-order
- 基于MATLAB的声纹识别系统设计源码 - VoiceprintRecognition
- 基于Java的微服务插件集合设计源码 - wsy-plugins
- 基于Vue和微信小程序的监理日志系统设计源码 - supervisionLog
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功