Spring has a lot of different modules. All of them are useful for the concrete purposes. Today I'm going to talk about Spring Security. This module provides flexible approach to manage permitions for access to different parts of web-application. In the post I'll examine integration of Spring MVC, Hibernate, MySQL with Spring Security.
Testing is one of the most important parts of software development. Well organized testing helps to keep a code of application in a good state, in a working state. There are a lot of different types of test and methodologies. In this article I want to make an introduction in unit testing of applications based on Spring MVC. Don't hope to read all about Spring MVC testing here, because it's just a first article about unit testing.
In this article I want to examine an example of Spring MVC + Hibernate + Maven usage. This set of technology implies basic knowledge of the domain area. So I will try to explain all essential moments in detail. The other things which are out of topic, will be provided with links to more detail sources. In the end of the post I will publish a link to GitHub. Now you can try a new tutorial on the same theme but with Spring Data JPA.
It's hard to imagine a situation when a modern web-application doesn't have checkboxes in a form. In one of the previous posts I wrote about form handling in Spring MVC, as a continuation of this series I'm going to write about Spring MVC forms, and in particular about checkbox processing. This post will be about a standard usage of
Session management is one of the essential parts for each web application. Since Spring MVC is a powerful framework for web development, it has its own tools and API for the interaction with sessions. Today I intend to show you the basic ways of session processing within Spring MVC application. That is: how to process forms, add objects into a session, and display objects from the session on JSP. I will try my best, so let's start.