Ratpack Integration with Spring Boot 1. Overview Previously, we have introduced Ratpack and its integration with Google Guice. In this quick article, we’ll show how Ratpack can be integrated with Spring Boot. 2. Maven Dependency Before we continue, let’s add the following dependency into our pom.xml: <dependency> <groupId>io.ratpack</groupId> <artifactId>ratpack-spring-boot-starter</artifactId> <version>1.4.6</version>… Continue Reading ratpack-spring-boot

BufferedReader vs Console vs Scanner in Java 1. Overview In this article, we’re going to walk through the differences between BufferedReader, Console, and Scanner classes in Java. To have a deep dive on each topic, we suggest having a look at our individual articles on Java Scanner, Console I/O in Java,… Continue Reading bufferedreader-vs-console-vs-scanner-in-java

Validating Lists in a Spring Controller 1. Introduction Validating user inputs is a common requirement in any application. In this tutorial, we’ll go over ways to validate a List of objects as a parameter to a Spring controller. We’ll add validation in the controller layer to ensure that the user-specified… Continue Reading spring-validate-list-controller