Category: Java

Create a production-grade Java microservice architecture with JHipster and Couchbase

Tayeb Chlyah is a Java lead architect with solid experience on performance large-scale applications, microservices, and NoSQL databases. He has developed a couple of open source Java libraries for Couchbase.   Introduction Every successful developer needs to keep up to date...

licensed under Creative Commons from https://www.flickr.com/photos/vintage_illustration/42877211461 by Rawpixel Ltd

NDP Episode #26: Chris Anderson on ACID and RAFT in FaunaDb

FaunaDb is the focus of the latest episode of The NoSQL Database Podcast. Chris Anderson joins as the special guest to talk about RAFT and ACID in a NoSQL database. The previous episode of the podcast was Nathan Voxland on...

ReactiveX Logo

Exploring RxJava – Wrapping a Listener Callback

In this post, I’ll show how to convert a callback-based listener style API to a reactive one with RxJava 2. Contents Introduction Objective Getting Started Creating a Source Listing: BasicSource.java Listing: UnboundSource.java Converting to an Observable Listing: Observables.java Instantiation and...

How to log queries generated by Spring Data

One of the ways to improve your application performance in Couchbase is to create indexes for common queries. However, when you are working with Spring Data using its standard DSL, the generated query is not very clear, which makes a...

NDP Episode #25: Nathan Voxland on Liquibase

Liquibase is the focus of the latest episode of The NoSQL Database Podcast. Nathan Voxland joins as the special guest to talk about source control for your database. I’m also joined by special co-host Denis Rosa, a developer advocate who...

What is fuzzy matching and how to use it correctly

Fuzzy matching allows you to identify non-exact matches of your target item. It is the foundation stone of many search engine frameworks and one of the main reasons why you can get relevant search results even if you have a...

Spring Security and Dynamic Client Registration | OAuth Part 3

We already discussed how to configure an OAuth 2.0 authentication and how to build a custom token store. In the last article of this series, you will learn how to implement a custom dynamic client registration using spring-security-oauth2. I recommend you...

How to create a custom Token Store for Spring-securtiy-oauth2 | OAuth Part 2

In the previous blog post, we discussed how to configure a simple OAuth2 authentication. However, our implementation has a major flaw in it: we are using an in-memory token store. In-Memory token stores should be used only during development or...

How to configure an OAuth2 Authentication with Spring-Security-Oauth2 using different data sources | OAuth Part 1

As you might have noticed in my previous blog posts, I am a big fan of Spring + Java and Spring + Kotlin. Consequently, whenever I need to implement an OAuth 2.0 authentication, spring-security-oauth2 lib is a natural choice. However,...

Processing GraphQL Queries with Java, Spring Boot, and NoSQL

Over the span of the past few months I’ve been learning about GraphQL and how to use it as an alternative to RESTful API development. The focus thus far had been around GraphQL and Golang as well as GraphQL and...