Simple introduction to Spring Boot - Part 1

This series of articles will demonstrate how to get started with Spring Boot 3. I will do this by creating a very simple application to manage the pets we might have in our household. For the purposes of this article I will use Apache NetBeans 17, but you should easily be able to adapt this to instead use IntelliJ or Spring Tool Suite if you prefer, or an earlier version of NetBeans.

This article assume you already have NetBeans installed. To see how to install NetBeans that includes an integrated local Java Development Kit (JDK) to save you from having to download a JDK in advance, see the following article:


In Part 1, I show how to get setup to develop a Spring Boot 3 application. 


Setting up the software

While the Spring website provides an Initializr facility that that generates a downloadable starting configuration for new Spring Boot applications, we can make this process easier in NetBeans by installing a plugin that connects to it for us. Browse to the following link to get the plugin:

...

Apache NetBeans Plugin Portal

Next to plugin version 3.1, click on  NB 12.0 to download the plugin. Don't worry that the plugin was for a previous version of NetBeans as it will still work fine on NetBeans 17.

The downloaded file is called nb-springboot-plugin-3.1.nbm in whatever folder you chose to download it to.

We now need to install this into NetBeans. Select Tools --> Plugins:

Now click the Downloaded tab, which will be empty unless you have previously downloaded other plugins:

Click the Add Plugins... button and browse to the folder where you downloaded the nb-springboot-plugin-3.1.nbm file, and then select it and press the Open button.

This should now show the following screen:

Click the Install button followed by the Next > button that follows. You now need to check the checkbox to accept the license terms, followed by the Install button.

You will likely get a Validation Warning dialogue which on you can safely click Continue.

Another dialogue will appear asking whether you should restart the IDE now or later. Choose Restart IDE Now and click Finish.

NetBeans will go through a brief update process and then automatically restart itself. To verify that the plugin has successfully been installed, click the New Project... icon in the toolbar (or alternatively choose File --> New Project... from the menu bar):

In the New Project dialogue, ensure Java with Maven is selected under the Categories column, and that you have an entry under the Projects column called Spring Boot Initialzr project:


This concludes the setting up of the required software. In Part 2 I will show you how to create a new Spring Boot 3 web application to model our simple system of managing household pets.

Simple introduction to Spring Boot - Part 2


Print
×
Stay Informed

When you subscribe, we will send you an e-mail whenever there are new updates on the site.

Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Monday, 27 October 2025

Captcha Image