Basic Spring Boot Application Example

Basic Spring Boot Application Example:

We have already went through various examples using spring, To understand spring please refer here.

What is Spring Boot?
Spring Boot is a way to create stand-alone applications with less or no configurations and has defaults for annotation configuration which we will use in our application

Advantages of Spring Boot:

  • Reduces development time
  • Embedded Servers
  • No XML configuration
  • Integration with Spring JDBC, Spring ORM etc.

Now let us see an basic example to create spring boot application in Netbeans.

Structure:

pom.xml

SpringBootApp.java

Output:

We have created basic spring boot application!

 

 

Read More