Category: Java

How to Configure OAuth2 Authentication With Spring-Security-Oauth2
How to Configure OAuth2 Authentication With Spring-Security-Oauth2

This Spring-Security-Oauth2 tutorial contains 3 parts: how to authenticate a user, how to configure a token store and how to configure dynamic clients.

Processing GraphQL Queries with Java, Spring Boot, and NoSQL
Processing GraphQL Queries with Java, Spring Boot, and NoSQL

In this Couchbase tutorial, we’re going to see how to quickly get up and running with GraphQL queries using Java, Spring Boot, and NoSQL frameworks.

Inside the Java SDK: Connection Management
Inside the Java SDK: Connection Management

In this second instalment of “Inside the Java SDK” we are going to take an in-depth look at how the SDK manages and pools sockets to the various nodes and services. While not ultimately necessary to follow, I recommend you...

Inside the Java SDK: Bootstrap
Inside the Java SDK: Bootstrap

From time to time we get questions on topics that do not directly fit into the documentation since they dig deeper into the internals of the client libraries. In this series we’ll cover different themes of interest – in this...

Tutorial: RecyclerView with Couchbase Lite as Data Source in Android
Tutorial: RecyclerView with Couchbase Lite as Data Source in Android

The RecyclerView widget is a popular option on Android for displaying dynamic data collections. This tutorial discusses the fundamentals of using Couchbase Lite , an embedded NoSQL database as a data source for your RecyclerView.

Response Time Observability with the Java SDK
Response Time Observability with the Java SDK

Learn how RTO works with the Java SDK. We can have a deeper insight into what and why something is not working/performing as expected.

Using Couchbase Analytics for Complex and Efficient Queries in a Java Application
Using Couchbase Analytics for Complex and Efficient Queries in a Java Application

Learn how to use the Couchbase Analytics Service (CBAS) to query for data with SQL++ in Java without having to worry about indexing.

Intro to Couchbase HA/DR: Java Multi-Cluster Aware Client
Intro to Couchbase HA/DR: Java Multi-Cluster Aware Client

In this post, I’m going to take a look at a sample application that uses the Couchbase Server Multi-Cluster Aware (MCA) Java client. This client goes hand-in-hand with Couchbase’s Cross-Data Center Replication (XDCR) capabilities. XDCR supports flexible replication of data...

Couchbase With Spring-Boot and Spring Data
Couchbase With Spring-Boot and Spring Data

Need to learn how to set up Spring Data, Spring Boot, and Couchbase? This blog post will show your prerequisites, repositories, and everything in action.

Intro to Couchbase HA and DR: Setting up XDCR Step-by-Step
Intro to Couchbase HA and DR: Setting up XDCR Step-by-Step

High Availability (HA) and Disaster Recovery (DR) are two of the driving reasons to move from a traditional RDBMS to a NoSQL-based system like Couchbase Server. In this webinar we went over the many features of Couchbase Server that address...

Controlling Hierarchical Logging with SLF4J and Logback
Controlling Hierarchical Logging with SLF4J and Logback

Couchbase Server is a complex product. Like most substantive software, and especially enterprise products, monitoring behavior through logging is important. I recently wrote a small sample application using the Couchbase Multi-Cluster Aware Java client. This client can handle fail over...

Improved SDK Authentication Methods – Couchbase 5.0
Improved SDK Authentication Methods – Couchbase 5.0

Couchbase 5.0 delivers new authentication security features that require minor changes to your client connection code. This post tells you how to do it!