Creating Simple Spring Boot Web Application Using Maven
What is spring-boot ? To answer this, I directly quoted from the official website : Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". "Just run" refers that it has embedded Tomcat [servlet container] so that we can run the application anywhere [where installed java] . No need to configure any server. Before Starting this tutorial we need to ensure that Maven installed properly. [ if not installed then you can follow the tutorial how to install ] Installed Java properly. You can create a spring-boot project from your favorite IDE (In my case Netbeans 8.0.2) or from the direct web ( http://start.spring.io/ ). Let me describe both. How to Create maven project in Netbeans: Click on File ->new project ->maven (category) -> web application and click next. Give your project a name and click next to select server (tomcat) and then click finish. Open POM xml and ...