Category: Best Practices and Tutorials

Create Couchbase Docker Images on the Fly with TestContainers

Create Couchbase Docker Images on the Fly with TestContainers

Yesterday I wrote about how to do unit and integration tests with Couchbase and TestContainers. One of the prerequisite for those tests was to have an image already built. Turns out you don’t have too. You can use TestContainers to...

Unit and Integration Tests with Couchbase and Docker Containers

Unit and Integration Tests with Couchbase and Docker Containers

The current state of testing with Couchbase requires you to use something like CouchbaseMock, or mock the API yourself, or have a running Couchbase Server instance started prior to running those tests. Mocking works but is not really testing Couchbase. It...

A better way to update with Couchbase Lite

A better way to update with Couchbase Lite

Copy of Original Draft Score by Handel Photo courtesy of Adrian Pallant with permission under license CC BY-SA 2.0 The U in CRUD In this earlier post, I wrote about getting started with basic CRUD operations in Couchbase Lite on Android. In this quick note,...

Configuring IPsec for a Couchbase Cluster

Configuring IPsec for a Couchbase Cluster

Introduction Some Couchbase deployments require secure communications between nodes across the network, this could be due to reasons like data governance policies or regulatory compliance.  Internet Protocol Security (IPsec) is a protocol suite for secure Internet Protocol (IP) communications by...

July 15, 2016
Give some Ratpack Love to your Spring Boot Application

Give some Ratpack Love to your Spring Boot Application

I recently started working with Ratpack and I quite like it. I mostly did quick projects from scratch. But I would like to use it in an existing Spring Boot application to replace the traditional MVC part. This is actually...

Securing Couchbase Server using Let’s Encrypt x.509 Certificates

Securing Couchbase Server using Let’s Encrypt x.509 Certificates

Summary Securing data and access to data for application data is an important step in securing your environment for client applications and database protection in any sized environment. One of the simplest methods to secure data is the access path...

Enterprise Grade Backup and Restore Tool in Couchbase Server 4.5

Enterprise Grade Backup and Restore Tool in Couchbase Server 4.5

The enterprise grade backup and restore tool, cbbackupmgr, provides a high performance, consistent, reliable and secure solution for backing up and restoring business critical data for enterprise customers. Backing up Exponential Data Growth at Speed Exponential data growth, the need...

May 31, 2016
Vaadin/Couchbase CRUD Sample

Vaadin/Couchbase CRUD Sample

Last week while I was at JFokus I met Matti Tahvonen, he works at Vaadin. They have been proposing an open source web framework for rich Internet applications in Java for years and do it really well. I am personally...

Create a Couchbase Server Cluster using Docker

Create a Couchbase Server Cluster using Docker

Docker is all the rage at the moment because of how easy it makes deployment of microservices and other tasks.  Did you know that you can use Docker to install and configure Couchbase? Check out the following video to see...

Using Covering Indexes on a Multiple Document Type Bucket

Using Covering Indexes on a Multiple Document Type Bucket

I was recently working on a project that made use of N1QL for querying Couchbase Server data. This was an internal Java application that I was hosting on a low budget Amazon EC2 instance. My problem here is that my...

Couchbase will be at Apps World North America 2016

Couchbase will be at Apps World North America 2016

I wanted to let everyone know that I will be at Apps World North America at the Santa Clara Convention Center in California on May 11th to give a very developer oriented talk about Couchbase Mobile. In case you’re unfamiliar...

Getting Started with Ratpack and Couchbase

Getting Started with Ratpack and Couchbase

I recently started playing with Ratpack.   It's a set of Java libraries for buiding modern HTTP applications. To go beyond that simple definition, Ratpack is non-blocking, asynchronous and netty-based. A bit like our Java SDK. So it comes as...