Skip Navigation

Build Spring Boot 2.0 apps with Azure Starters and new VSCode extensions

Posted on March 7, 2018

Program Manager, Java on Azure

Spring fans, we are excited to announce full support of Spring Boot 2.0 on the Spring Boot Starters for Azure, already available on Spring Initializr. Plus, with new Java and Spring extensions for Visual Studio Code you can build production-ready apps and easily deploy them to the cloud.

Integrate Azure services with Spring Boot 2.0 apps

Spring Initializr enables developers to handle the dependency management and make the bootstrapping process for Spring projects much easier. Today, we’re announcing that the Azure Starters have been updated to support Spring Boot 2.0, so you can easily integrate cloud services with your application.

All of the Azure Spring Boot Starters are available on Spring Initializr:

  • Azure Support: Provides support for the Azure services below, plus all other services currently available via Spring Boot Starters.
  • Azure Active Directory: Enterprise grade authentication using Azure Active Directory, integrated with Spring Security.
  • Azure Key Vault: Manage application secrets using Azure Key Vault, providing Spring value annotation support.
  • Azure Storage: Integration with Azure Storage, including object storage, queues, tables, and more.

You can create a Spring Boot 2.0 project on Spring Initializr, then search for “Azure” to find the Azure modules:

Spring Initializr

Spring and Java extensions with Visual Studio Code

Visual Studio Code is a free, open source editor for macOS, Linux and Windows, and it’s a powerful tool for building Spring and Java applications. Just like how developers enjoy the simplicity and quick nature of building applications in Spring Boot, developers can save a lot of time and quickly build, test, and debug applications using Visual Studio Code:

  • Scaffold a project: You can quickly generate a new Spring Boot project using the Spring Initializr extension for Visual Studio Code, without leaving the editor.

Spring Initializr

  • Write code efficiently: Use Spring Boot Java Support for smart code auto-completion, quick source code navigation, instant access to view running applications, and real-time display of application information.

Spring Boot Java Support

  • Better debugging: Use Debugger for Java to set an application source code breakpoint so that browser reloads take you directly to that breakpoint.

Debugger for Java

Deploy your Spring apps to Azure

Once you’ve built your Spring apps, you can easily deploy them to Azure, leveraging services like:

If you don’t have an Azure subscription, you can get started with our trial offer, including $200 in Azure credits and 12 months of popular services, for free.

Next steps

Check out the Azure Spring Boot Starters page on GitHub to get started. Also, don’t forget to try Visual Studio Code for a faster and leaner experience building Java and Spring apps.