英文:
How does Spring boot Application runs under the hood?
问题
我对Spring Boot还不熟悉,构建工具我使用的是Maven。
我想知道在Maven构建过程完成后Spring Boot应用程序是如何运行的,就像
构建的输出是什么?
构建是如何执行的?
尽管大部分有关构建和运行过程的细节都被IDE(如IntelliJ)抽象化了,但我很想知道内部会发生什么?
英文:
I am new to spring boot and for build tool i am using Maven .
I wanted to know that how does spring boot application runs after maven build process finishes like
What is the output of the build ?
How build is executed ?
Although much of the detail about the build and run process is abstracted away by IDE (like IntelliJ) but i am curious to know about what happens internally ?
答案1
得分: 1
spring-boot-maven-plugin Maven插件可以生成一个可执行的JAR文件,其中包括所有依赖的JAR文件、启动和类加载器代码,以及你的应用程序代码。
英文:
The spring-boot-maven-plugin Maven Plugin can generate an executable JAR which includes all dependency JARs and start-up, classloader code in addition to you application code.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论