Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Building Spring Boot 2.0 Apps: VS Code, Initializr, and Azure Starters

DZone's Guide to

Building Spring Boot 2.0 Apps: VS Code, Initializr, and Azure Starters

Bringing Java to the cloud, see how you can build your Spring Boot 2.0 apps with a new VS Code extension and Spring Boot Starters for Azure on Spring Initializr.

· Java Zone ·
Free Resource

Verify, standardize, and correct the Big 4 + more– name, email, phone and global addresses – try our Data Quality APIs now at Melissa Developer Portal!

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 makes 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.

Developers! Quickly and easily gain access to the tools and information you need! Explore, test and combine our data quality APIs at Melissa Developer Portal – home to tools that save time and boost revenue. Our APIs verify, standardize, and correct the Big 4 + more – name, email, phone and global addresses – to ensure accurate delivery, prevent blacklisting and identify risks in real-time.

Topics:
spring boot 2 ,azure ,visual studio code ,java

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}