deploy java eclipse_Deploy Java Web Apps to Azure using Eclipse

Today at EclipseCon 2016 Microsoft announced it joined the Eclipse foundation. This is an important next step for Microsoft to continue a meaningful conversation with the Java community, and especially the people who make tools based on Eclipse.

One of the first accomplishments as a new member of the foundation is the latest update to our Azure Toolkit for Eclipse. We’ve added Azure Web App support for Java applications and a few other enhancements based on feedback from the community.

Java Web Apps are fully managed so you can focus on building, deploying and scaling enterprise-grade apps in seconds.  Java Web apps run on either Tomcat or Jetty by default, but can be configured for other app servers as well. Here’s a tutorial on getting started with Java Web Apps.

Deploying to a Java Web App from Eclipse

You now have an option to deploy to a Java Web app running Tomcat or Jetty directly from Eclipse and unlike the more traditional Cloud Service deployments, the deployment takes seconds, not minutes. This is especially great when you want to deploy your Java code to a fully managed, scalable platform on  Azure with minimal configuration hassle.

Here’s an example showing deployment to a Java Web App using a JDK and web container provided by Azure.

In Eclipse, select the project you want to deploy to Azure and right-click to bring up the context menu.

In the context menu, select Azure, then click Publish to Azure Web App.

4d0c3e5cf78f24a935dd9d45a48a9398.png

Next, you will be presented with options to choose: a name for the App Service, location, pricing tier and instance size.  Once those options are set, you can deploy your app. A few seconds later, your app is published, as shown here:

e52f088e488509b07d8b024e97c6aa0f.png

If you click on the Published link you will be taken to your running Java Web App.

You can explore installed apps via the built-in Azure explorer, also included when you install the Azure Toolkit for Eclipse:

b1f41fe74b1cc8e7f51288f6de230bff.png

This is a very simple example of a quick deployment using default options provide by Azure.  There are many more configuration and deployment options outlined in this tutorial.

Accessing the Toolkit

The Eclipse Toolkit is available from the Eclipse Marketplace, along with the Eclipse plugin for Visual Studio Team Services, known as Team Explorer Everywhere.

For more info, check out the instructions for downloading and installing the Azure Toolkit for Eclipse, and visit the updated documentation page.

Our new Java Dev Center

We also have a new Azure Java Developer Center to share with you.  It’s based on feedback from visitors, and will continue to be updated with your feedback, so let us know what you think!

As you’ll see in the new Dev Center, The Azure toolkit for Eclipse is but one of the many investments we continue to build to make it as easy as possible for Java developers on Azure.  We have several other plugins for other IDEs and CI platforms, and other important SDKs and tools for Java dev teams.

Ongoing feedback

Most of the changes we make to the toolkit are a result of feedback from users and developers. We urge you to continue sharing your feedback to help us make this toolkit everything it needs to be for the testing and deployment of Java applications on Azure. The best channels to share feedback are the comments section below and StackOverflow.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值