Category: Spring Boot

Add REST Controller to Spring Boot Application

In this post, we will see how to add REST controller to Spring Boot Application. First you can create the Spring Boot Applicatin using Netbean IDE. You can create the Java class FirstController in your Source Packages folder of the Netbeans IDE. You can add the following code to Class you created

Now you […]

Read more

Starting Spring Boot Application

First I will create the Maven Java Application using Netbean IDE. Under the Project Files, you can see pom.xml file where you can add the project dependencies and and parent tag. So your final pom.xml should be like this

Next, you can create the Test.java class and add the following code to it

[…]

Read more