Using Spring Boot, it's now simpler and faster than ever to kick off a new Spring MVC Java application. In this video, we'll get up and running with Spring MVC in less than 15 minutes using Spring Boot.
To get started, you'll definitely want to make sure that you have Java and Maven installed. A quick way to get up and running with Maven can be found in the tutorial linked below. This tutorial targets the Raspberry Pi, but this will work with any Unix/Linux operating system:
• Installing Apache Maven on Raspbery Pi man...
If you need more general instructions on how to install Maven and need to get the binary installs, go to the Maven website:
https://maven.apache.org/
Working with Spring Boot is surprisingly simple, but having the instructions on hand is certainly helpful to guide you along the way. Be sure to have a look at the Spring Boot Getting Started Guide which you can find at the link below:
https://spring.io/guides/gs/spring-boot/
You'll notice in this video, especially if you have used Spring MVC before, that you can get up and running very quickly and without having to worry about most of the setup and configuration that you might be used to. You won't have to worry about Tomcat (or any other Java container) or compiling to a WAR. You won't have to worry about your deployment descriptor (web.xml) and setting up your filters. Also, your application configuration annotations are also wildly simplified.
All of these things combined help get you up and running with Spring MVC in record time!
Join our Facebook Community:
/ techzonk
Follow us on Twitter:
/ techzonk