Select "Install New Software" and enter The installation address for the Azure plug-in:/http Dl.msopentech.com/eclipse, select OK, select all the installation when the software selection appears, accept the full terms, then keep next, know the installation is complete, your Eclipse will restart once. 3.Once the installation is complete, we'll create our firstAzure Javaproject, because this is primarily a demonstration of how to deployJavaapplication Deployment toCloud Service, so you need to prepare one for your ownWARpackage, if not, alsoOK,AzureIt comes with a test.Helloworld.war,For a simple test. OpenEclipse, selectNew Project, findAzure Deployment Project, select New Project.
4. Write a name for your project and select Next:
5.on this page, you will need to specify what you want to deploy to the cloud service.JDK, application servers, and apps. Well, I'll take a look.JDKsection, there are several different options, the first of which is that you can deploy your localJDKto the cloud, such asOracleof theJDK 1.8, you can deploy third-party, direct download from the cloudJDK, currently only supportsOpenJDK, you can make a remote site to download, but it must be noted that the remote JDK must be a zip Package, because the script is only responsible for theJDKuntie, in this example, I chose to deploy my localOracle JDK 1.8.0-60to the Cloud:
6. The second page is the need to select the application server you want to deploy, there are currently a variety of servers to choose from, Common Tomcat,Jetty, JBoss , GlassFish etc are in the list, in this case select Jetty 9 as a Java application server; Similarly, if you have some special settings, you can choose to upload the local application server to the cloud, you only need to specify the path of the local server.
7. The final part is to select the Java Web application you want to deploy , which is a standard war package, by default,theAzure application will provide a very simple HelloWorld War package, his basic function is to output the classic Hello Wolrd, if you only want to test the deployment process, you can select the deployment package, in this case I will deploy a test package Greenhouse.war:
8. Click Done, create a new project, and when you are done, you will see the project structure as shown. the Cert directory stores the certificates required for some projects, such as certificates for Remote Desktop Connections, andcloudtools is a release and build tool thatdeploy It is packaged to complete the package that needs to be released, Workrole1 are some startup run scripts and examples HelloWorld package, the other three files are package definitions, cloud service profiles and definition files.