Create a Java website using the Azure application gallery
This information shows how to use the Azure application gallery to select a Java application container, either Apache Tomcat or Jetty, for your website.
The following shows how a website built using Tomcat from the application gallery would appear:

The following shows how a website built using Jetty from the application gallery would appear:

- Log in to the Microsoft Azure Management Portal.
- Click New, click Compute, click Website, and then click From Gallery.
- From the list of apps, select one of the Java application servers, such as Apache Tomcat or Jetty.
- Click Next.
- Specify the URL name.
- Select a region. For example, West US.
- Click Complete.
Within a few moments, your website will be created. To view the website, within the Azure Management Portal, in the Websites view, wait for the status to show as Running and then click the URL for the website.
Now that you've create the website with an app container, see the Next steps section for information about uploading your application to the website.
Create a Java website using the Azure configuration UI
This information shows how to use the Azure configuration UI to select a Java application container, either Apache Tomcat or Jetty, for your website.
- Log in to the Microsoft Azure Management Portal.
- Click New, click Compute, click Website, and then click Quick Create.
- Specify the URL name.
- Select a region. For example, West US.
- Click Complete. Within a few moments, your website will be created. To view the website, within the Azure Management Portal, in the Websites view, wait for the status to show as Running and then click the URL for the website.
- Still within the Azure Management Portal, in the Websites view, click the name of your website to open the dashboard.
- Click Configure.
- In the General section, enable Java by clicking the available version.
- The options for the web container are displayed, for example, Tomcat and Jetty. Select the web container that you want to use.
- Click Save.
Within a few moments, your website will become Java-based. To confirm it is Java-based, within the Azure Management Portal, in the Websites view, wait for the status to show as Running and then click the URL for the website. Note that the page will provide text stating that the new site is a Java-base website.
Now that you've create the website with an app container, see the Next steps section for information about uploading your application to the website.
没有评论:
发表评论