
Explore how Spring Boot accelerates Java application development by building a parking lot app, reducing boilerplate with Lombok, and using Swagger and H2 for APIs and data.
Understand Java fundamentals and grasp the basics of Maven projects to get the most from this course, even if you aren't an expert.
Unzip the section zip file and import it as an existing maven project to view the code covered in that section. Repeat for each section to access all covered code.
Generate a spring boot project skeleton with spring initializr, choosing maven, java 8, version 2.2.2, and dependencies web, jpa, h2, lombok, and devtools for a parking lot application.
Import the downloaded skeleton as an existing Maven project, fix the POM version and properties, install Lombok in Eclipse, ensure JDK is in the build path, then run mvn install.
Examine the autogenerated sample project for a skeleton spring boot app. Resolve port conflicts by setting server.port to 8081, and review pom dependencies like JPA, web, Dev Tools, and Lombok.
Explore how an embedded database runs inside your Spring Boot server, starting with the application and used for temporary data storage, with data lost on restart and not for production.
Configure an embedded H2 database in Spring Boot by enabling the H2 console via application properties, using the JDBC URL, driver, and login credentials, and leveraging DevTools for auto restart.
Navigate the H2 console to create tables, insert data, and view records in an embedded Spring Boot database, and learn how schema.sql and data.sql scripts ensure persistence.
Create a ParkingInfo entity with @Entity and @Id, use Lombok @Data for getters/setters, and extend JpaRepository in ParkingRepository to perform CRUD on the H2 database; remove legacy data.sql and scheme.sql.
Explore how the service tier encapsulates the application's business logic via a contract with declaration of methods and its implementation, using a Java interface and a class that implements it.
Design your service contract by defining a parking service interface in a new service package with methods to get all vehicles, park, and delete from the database.
Implement a concrete Spring Boot parking service by autowiring a repository, performing find all, save, and delete, and enforcing a 1–10 slot limit with validation.
Explore how spring controllers map http requests to methods via the dispatcher. Learn how get, post, put, delete, and patch mappings perform read, insert, update, and delete operations.
Build a Spring Boot REST controller for a parking lot, exposing get all vehicles, post park, and delete park mappings, wired to a parking service and seeded with data.sql.
Learn to enable swagger configuration in a Spring Boot app by adding dependencies, creating a swagger config, and exposing a parking lot API with interactive 'try it out' documentation.
Master rapid application development by reducing boilerplate with Lombok, generate dynamic API documentation, use an embedded H2 database, and perform operations with JPA to build production-ready apps.
In this course along with learning the basics of Spring Boot Framework while designing a Parking Lot Application , you will be learning some of the most desired skills of being counted among the best techies in the industry for web application development. you will learn and understand how to create Swagger-Api, how to use Lombok Framework to minimize the boilerplate even further then most techies can possibly imagine and last but not least understanding of embedded database and leveraging the same for faster application development.