简体   繁体   English

将Web应用程序移动到Web主机/ Web服务器

[英]Moving Web Application To Web Hosting/Web Server

Let's imagine that I have finished web application made with JavaEE. 让我们想象一下,我已经用JavaEE完成了Web应用程序。 This web application contains login system but in the end its very basic web application. 此Web应用程序包含登录系统,但最终包含其非常基本的Web应用程序。 I used GlassFish 3.1.2.2. 我使用了GlassFish 3.1.2.2。

I would like to know that once finished web application I would like to move/deploy this web application to my web hosting/web server, let's say to Bluehost. 我想知道,一旦完成Web应用程序,我想将此Web应用程序移动/部署到我的Web主机/ Web服务器,让我们对Bluehost说。 What measures I need to make, how they are done and what requirements there are? 我需要采取什么措施,如何完成以及有哪些要求?

I have been searching around the internet but not found any single page that could answer to my question. 我一直在网上搜索,但没有发现任何单页可以回答我的问题。

You're in demand of a provider that supports Java Servlet and JavaServer Pages . 您需要支持Java Servlet和JavaServer Pages的提供程序。 Package your application as a war file and upload it to a tomcat instance, or any other servlet container. 将应用程序打包为war文件,并将其上载到tomcat实例或任何其他servlet容器。

You will need to package as WAR file and deploy on the server. 您需要打包为WAR文件并在服务器上部署。

The best and free to use is openshift. 最好的和免费使用的是openshift。 It comes with TOMCAT which you can use. 它配有TOMCAT,您可以使用它。 Remember tomcat doesn't support EJBs. 记住tomcat不支持EJB。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM