Simple introduction to Spring Boot - Part 4

In this part I will show how to define the repository and controller Java classes for our Pet class. This part assumes you have completed Part 3 of this series of articles.  In the previous part we defined a Pet class and made it suitable to become a database table. We now need a repository class that forms the data access mechanism....

Simple introduction to Spring Boot - Part 3

In this part I will show how to define the Java classes to model our pets and get them stored within a relational database table. This part assumes you have completed both Part 1 and Part 2 of this series of articles.  We firstly need to define a Java class that will model each pet, and will therefore create a new Pet class. This class will be...

Simple introduction to Spring Boot - Part 2

In this part I will show how to create a new Spring Boot 3 project and create a Java entity class to model a pet. This part assumes you have completed Part 1 of this series of articles, where we verified that when creating a new Maven project in NetBeans we could see the option to create a new Spring Boot Initializr project: Ensure Spring Boot...

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

Java programming course: 1.6 How Java programs are entered

This is Lesson 1.6 of the Java programming course. Previous lesson: 1.5 Java syntax and naming conventionsCourse contents How Java programs are entered While it is possible to use a simple text editor to enter Java source code, and to use command line instructions to invoke the compiler, it is generally beneficial to use an Integrated Developm...

Installing NetBeans with integrated local JDK

Normally when installing NetBeans, and most other IDEs, you need to already have a Java Development Kit (JDK) installed on your device. It is sometimes useful to be able to install NetBeans together with the latest JDK for the following reasons: > To make installation easier and more convenient.> To use the latest JDK that won't interfere wit...