
What this course will cover.
In this video we'll discuss the things that you'll ideally need to know before you get started.
We'll be looking at two different major versions of Spring Boot in this course. Here are the differences between the two.
You'll need to install some software before you'll begin. In this video, we'll discuss what you'll need.
How to create a project using Maven.
In this video we'll create a basic "hello world" web app.
About template engines, and what they are.
Learn how to create a Maven project without Eclipse.
How to package the project with Maven.
How to build a Maven project with Eclipse.
About wars and executable wars.
How to deploy your project to a running existing Tomcat server.
How to use multiple controllers.
In this video we'll begin to set up Apache tiles, to enable us to compose our pages from multiple JSPs.
Configure and extend tiles definitions to set page titles across multiple pages using a base definition and extended pages like home and about, with default layouts and GSP integration.
How to deal with static resources (images, javascript, css, etc)
How to add a Twitter Bootstrap navbar to site pages.
Learn to style a Bootstrap navbar by creating a custom main.css, overriding default styles with specific CSS selectors, and using hover effects to improve navigation appearance.
What is the context root, and how can it be taken care of?
Using Bootstrap to lay out your site pages.
Explore building a simple html form with Bootstrap styling, including a text area and a submit button, and plan for later Spring Boot data handling.
Learn to unit test your Spring data model with JUnit in a Spring Boot project, configure Maven dependencies, create a status test with SpringJUnit4ClassRunner, and run tests without starting Tomcat.
Install and start the MySQL community server, connect via MySQL Workbench, and create a database named spring boot tutorial on localhost for use with Hibernate in Spring Boot.
Map a status update class to a database using JPA annotations, defining entity, table, id, and text and date columns. Use pre persist to auto set the timestamp with Hibernate.
Learn how to persist a status update using Spring Data JPA and CrudRepository by saving and loading within a transactional test.
Explore implementing a Spring MVC form that saves a status update to the database using get and post mappings, a service layer, and Spring form tags in the view.
Show how to display the latest status update by saving it and rendering it on the page. Pass the latest as a model attribute and escape text with c:out.
Learn how JSPs and GSPs compile to Java objects, how implicit request attributes flow from the model to the view, and how debug techniques reveal page lifecycle in Tomcat.
Explore model attributes in Spring to automatically create and bind a status update object for get and post methods, using @ModelAttribute for clearer form data binding.
Explore how Spring's save and update logic works in a status update app, including id handling, hidden fields, and clearing the form after submission to avoid unintended updates.
Learn to validate forms on the server side in Java using JPA and Hibernate validation annotations, applying @NotNull and @Size constraints, and display errors with binding result in Spring MVC.
Explore customizing validation error messages in a Spring web app by moving messages to a properties file, referencing min and max attributes, and displaying localized text styled in red.
Explore building linked page numbers with JSP inside a Spring page object, using for each loops, expression language, and context path to generate paginated navigation and highlight the current page.
Discover how to build a reusable GSP custom tag to render page numbers in blocks, by creating a pagination tag file, passing the page object and base URL.
Fix pagination hyperlinks and separators in a block-based page numbers UI by conditionally displaying back and forward links and the vertical bar, ensuring correct highlighting as you navigate blocks.
Edit the home page by wiring a status update service, returning a model and view, and displaying the latest status with Bootstrap grid styling for responsive layout.
Enable a JavaScript visual editor for a status update text area using TinyMCE, including script integration, configuration, and styling within a Spring Boot web page.
Edit statuses by loading a status into an edit screen via a controller mapping and model and view, retrieving by id with a status update service in a GSP view.
Learn to save edits by posting updated status data, validating with binding results, and preserving id and date with hidden inputs and date time format in Spring.
This course teaches you how to create web apps using the Spring framework.
You'll learn how to use Spring Boot to rapidly configure Spring and as a demo we'll make a simple social network web app, complete with editable profiles, a messaging system, and various other features.
If you know basic Java, you're fairly confident about writing basic programs and you want to learn powerful and popular Java framework, this course is for you.