Video tutorials with tag framework-spring:

Spring web app tutorial 31: JPA / Hibernate cascade (00:09:37)
How to cascade operations in JPA / Hibernate? Presented on cascade type remove. This will solve ConstraintViolationException.
Spring web app tutorial 32: Twitter Bootstrap dynamic modal (00:06:27)
How to create a dynamic modal dialog using Twitter Bootstrap, which will be used in a list. I will use JQuery to dynamically set link value inside modal window.
Spring web app tutorial 33: Spring Security PreAuthorize (00:07:48)
How to enable and use expressions with annotations in Spring Security. Specifically I will show you how to use PreAuthorize annotation.
Spring web app tutorial 34: utf-8 (00:01:59)
How to force UTF-8 so that forms work on Apache Tomcat. Using CharacterEncodingFilter from Spring framework.
Spring web app tutorial 35: Cross Site Scripting - XSS (00:03:22)
Example of Cross Site Scripting (XSS) and how to solve this problem using c out tag from JSTL.
Spring web app tutorial 36: Hibernate Validator (00:09:45)
How to validate input using Hibernate Validator (Bean Validation)? How to validate email, URL etc.
Spring web app tutorial 37: Refactoring (00:10:40)
Because our application grows more and more, some refactoring was needed. In this video I split single Spring MVC controller into multiple controllers.
Spring web app tutorial 38: JQuery Validation Plugin (00:10:46)
How to validate form on the client side using JQuery Validation Plugin (JavaScript).
Spring web app tutorial 39: Hibernate unique column (00:02:25)
How to set column unique using Hibernate (JPA). This will cause ConstraintViolationException trying to insert non-unique username.
Spring web app tutorial 40: Custom Validation Annotation (00:07:24)
How to create custom validation annotation with Hibernate Validator (Beans Validation) and Framework Spring. How to create a unique username validator.
Spring web app tutorial 41: JQuery Validation Plugin Remote (00:07:07)
How to use custom validation where business rules are defined on the server with JQuery Validation Plugin. Also how to customize messages used in JQuery Validation Plugin.
Spring web app tutorial 47: Scheduling (00:03:27)
Scheduling using Spring framework with annotation @Scheduled.
Spring web app tutorial 48: Java blog aggregator homepage (00:05:58)
Creating Java blog aggregator homepage with items from database ordered by published date in descending order.
Spring web app tutorial 16: Hibernate Transaction (00:05:04)
How to use Spring Transactional annotation to load entities in service layer instead of using Open Entity Manager In View Filter.
Spring web app tutorial 51: Spring Profiles and PostgreSQL DB (00:11:41)
How to use Spring Profiles to distinguish between development and production environment. How to use Heroku PostgreSQL database. This is the last video in "Java blog aggregator" series.
Spring web app tutorial 23: Spring Security and JSP (00:03:12)
How to use Spring Security JSP taglib and tag security:authorize with isAuthenticated and hasRole expressions.
Spring web app tutorial 11: MVC (Model View Controller) (00:10:24)
How to use Spring Web MVC (Model View Controller) with Apache Tiles. How to use JSTL (Java Standard Tag Library) - c:forEach. Styling table using Twitter Bootstrap.
Spring web app tutorial 9: JPA entities (00:12:22)
How to create Java entities with relationships (OneToMany, ManyToMany, ManyToOne). How to validate relationship using Eclipse JPA Diagram Editor.
Spring web app tutorial 17: Spring Data JPA Paging and sorting (00:02:29)
How to use Spring Data JPA for paging, sorting and top-n processing? This will generate SQL "SELECT ... ORDER BY ... LIMIT ...".
Spring web app tutorial 18: JSP Form binding using Model Attribute (00:11:57)
How to bind JSP form to Java object using ModelAttribute annotation. The form will have responsive layout using Twitter Bootstrap. Receiving HTTP POST in Spring Web MVC.
Spring web app tutorial 15: Hibernate Lazy Initialization Exception (00:06:23)
How to resolve LazyInitializationException using OpenEntityManagerInViewFilter / OpenSessionInViewFilter.
Spring web app tutorial 30: Twitter Bootstrap tabs (00:04:31)
Using Twitter Bootstrap tabs with JQuery.
Spring web app tutorial 24: Spring Security and database (00:03:23)
How to read roles and users using JDBC User Service. Authorities by username query and users by username query.
Spring web app tutorial 25: Spring Security BCrypt (00:01:48)
How to encode password using BCrypt (best practice, contains salt and is best protection against brute-force attacks). Using BCryptPasswordEncoder.
Spring web app tutorial 26: registration form complete (00:04:44)
Complete registration form. Now we will be able to create a user with encrypted password (using bcrypt) and role ROLE_USER, which will be able to login using Spring Security.
Spring web app tutorial 27: Spring Web MVC redirect (00:02:41)
How to implement Post/Redirect/Get design pattern using Spring Web MVC. Best practice for form submit.
Spring web app tutorial 28: User account (00:04:29)
How to create a page with user account. How to retrieve currently logged in user name (using Principal object) in Spring Web MVC. Security is done using Spring security.
Spring web app tutorial 29: Twitter Bootstrap modal (00:08:22)
How to use Twitter Bootstrap modal dialog? Example of a modal dialog with form, which will create a new blog.
JSF & PrimeFaces & Spring tutorial 5: JSF & Spring integration (00:08:49)
How to integrate JSF and Spring Framework



Free online Java web application examples

Want to develop whole web applications which use database, security and more? See my github account, where are lot's of example projects: