Hibernate 5 Naming Strategy Configuration 1. Overview Hibernate 5 provides two different naming strategies for use with Hibernate entities: an Implicit Naming Strategy and a Physical Naming Strategy. In this tutorial, we’ll see how to configure those naming strategies to map entities to customized table and column names. For readers… Continue Reading hibernate-naming-strategy

Entity Validation, Optimistic Locking, and Query Consistency in Spring Data Couchbase 1. Introduction After our introduction to Spring Data Couchbase, in this second tutorial we focus on the support for entity validation (JSR-303), optimistic locking, and different levels of query consistency for a Couchbase document database. 2. Entity Validation Spring… Continue Reading entity-validation-locking-and-query-consistency-in-spring-data-couchbase

Download a Large File Through a Spring RestTemplate 1. Overview In this tutorial, we’re going to show different techniques on how to download large files with RestTemplate. 2. RestTemplate RestTemplate is a blocking and synchronous HTTP Client introduced in Spring 3. According to the Spring documentation, it’ll be deprecated in the future… Continue Reading spring-resttemplate-download-large-file

Access the Same In-Memory H2 Database in Multiple Spring Boot Applications 1. Overview In this quick tutorial, we’ll demonstrate how to access the same in-memory H2 database from multiple Spring Boot applications. To do this, we’ll create two distinct Spring Boot applications. The first Spring Boot application will start an in-memory H2… Continue Reading spring-boot-access-h2-database-multiple-apps

An Introduction to Kong DevOps 1. Introduction Kong is an open-source API gateway and microservice management layer. Based on Nginx and the lua-nginx-module (specifically OpenResty), Kong’s pluggable architecture makes it flexible and powerful. 2. Key Concepts Before we dive into code samples, let’s take a look at the key concepts… Continue Reading kong