简体   繁体   English

如何托管 Spring Boot 应用程序

[英]How to host a Spring Boot application

I developed a spring boot application (REST API) with an H2 database.我开发了一个带有 H2 数据库的 Spring Boot 应用程序(REST API)。 Now there are many questions that I have about the deploying of this application.现在我有很多关于部署这个应用程序的问题。

  1. How can I upload this project to my web host?如何将此项目上传到我的网络主机?
  2. Do every web hosting supports this kind of application?每个虚拟主机都支持这种应用程序吗?
  3. Will I have a problem with this H2 database and I will have to migrate to (for example) MySql?我会遇到这个 H2 数据库的问题,我必须迁移到(例如)MySql 吗?
  1. If your web host is supporting Java you can run the application如果您的网络主机支持 Java,您可以运行该应用程序
  2. No. Usually there is only PHP support不。通常只有 PHP 支持
  3. You can use H2 (I assume you are using it file base) or MySQL if your hoster supports MySQL如果您的主机支持 MySQL,您可以使用 H2(我假设您使用的是文件库)或 MySQL

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 AWS 上托管 Spring Boot 应用程序(后端)和 React 应用程序(前端)? - How to host a Spring Boot Application (backend) and React Application (frontend) on AWS? 如何为 Spring Boot 应用程序配置嵌入式 Tomcat 虚拟主机? - how to configure Embedded Tomcat virtual host for Spring Boot Application? 主机 Spring 启动 + Angular + MySQL cPanel 上的应用 - Host Spring Boot + Angular + MySQL Application on cPanel 如何在 Spring Boot 中配置 Hazelcast 主机端口? - How to configure Hazelcast host port in Spring Boot? 如何使用Spring Boot更改mongodb的主机? - How change host for mongodb using spring boot? 将我的Spring Boot应用程序映射到本地主机上的HTML文件 - Mapping my Spring boot application to a HTML file on local host 如何将Spring Boot Actuator添加到Spring应用程序? - How to add Spring Boot Actuator to a Spring application? Spring 启动 Soap:如何将@WebService 启动到 Spring 启动应用程序中? - Spring Boot Soap :How to initiate @WebService into Spring Boot Application? 如何将 spring-boot-web-application 转换为 spring 应用程序 - How to convert spring-boot-web-application to spring application 如何在执行JAR时外部提供mysql主机到spring boot - How to externally provide mysql host to spring boot while executing JAR
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM