Learn how to create a production-ready, simple web application from scratch
About This Video
The Spring Framework is the leading alternative to Oracle’s Java EE offering. Spring Boot is the best option to start developing Spring applications with less code and a better development and operations experience.
This lesson is aimed at providing someone having a Java background with the necessary expertise to write a web-based application from scratch that stores data in a relational database and offers a REST-based API and a HTML interface.
We start by creating a new project and exploring the already provided test support. We then move on to add our first Web MVC controller and of course we add tests for this as well. With that knowledge we start to write our sample application and start with a REST-based API. Then, we add data storage via JPA and Spring’s JdbcTemplate.
Further on, we create an HTML interface with thymeleaf and add input validation to both APIs. Spring security is the next topic we explore to secure our application from malicious users. At the end we are going to learn how to configure our application, monitor it, and check out some advanced topics regarding Spring configuration classes and the Spring Expression Language (SpEL).
After completing this course, you will be able to write a maintainable application from scratch that can be deployed and operated with ease.
Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.