-
Thymeleaf integration with Spring (Part 2)
mongoDB, Spring, Spring MVC, Thymeleaf ·This is the second part of the Thymeleaf integration with Spring tutorial. You can read the first part here, where you will learn how to configure this project.
As explained at the beginning of the first part of this tutorial, the web application will send two types of requests:
-
Insert a new guest: Sends a...
-
-
Thymeleaf integration with Spring (Part 1)
mongoDB, Spring, Spring MVC, Thymeleaf ·This article is focused on how Thymeleaf can be integrated with the Spring framework. This will let our MVC web application take advantage of Thymeleaf HTML5 template engine without losing any of the Spring features. The data layer uses Spring Data to interact with a mongoDB database.
The example consists in a Hotel’s single page web application from where we...
-
Migrating Spring MVC RESTful web services to Spring 4
mongoDB, Spring, Spring MVC ·Spring 4 brings several improvements for MVC applications. In this post I will focus on restful web services and try these improvements by performing a migration from Spring MVC 3.2 to Spring 4.0. We will take a project implemented with Spring 3.2 and perform the steps to upgrade it to Spring 4.0. The following points sum up the...
-
Retry web service operations with RequestHandlerRetryAdvice
Integration, mongoDB, Spring ·Sometimes when invoking a web service, we may be interested in retrying the operation in case an error occurs. When using Spring Integration, we can achieve this functionality with RequestHandlerRetryAdvice class. This class will allow us to retry the operation for a specified number of times before giving up and throwing an exception. This post will show...
-
How error handling works in Spring Integration
Integration, Spring ·The target of this post is to show you how error handling works in Spring Integration, using the messaging system. You will see that error handling is different between synchronous and asynchronous messaging. As usual, I’ll skip the chat and proceed with some examples.
You can get the source code at my Github repository
1 The...