Category: Java

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...

/ June 21, 2018
RecyclerViews

Tutorial: RecyclerView with Couchbase Lite as Data Source in Android

The RecyclerView widget is a popular option on the Android platform for efficiently displaying dynamic data collections .Couchbase Lite 2.0 is a powerful NoSQL embedded data store for iOS, Android and .Net Mobile Platforms. In this post, we introduce a...

Response Time Observability with the Java SDK

Previous blogs gave a better understanding on how our approach to Real Time Observability (RTO) in general helps troubleshooting distributed systems and why we chose OpenTracing as a foundation and public API. If you haven’t already, you can check out...

/ April 9, 2018

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

Not too long ago I had written about using Couchbase’s new Analytics service, sometimes referred to as CBAS, within a Node.js application. In this example we had set up an Analytics dataset based on a sample Bucket and issued a...

Couchbase High Availability and Disaster Recovery: 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

One of the biggest barriers for anyone who wants to start using new technologies is usually the learning curve. Often while starting a new project, we end up choosing to use what we already know to avoid any friction right...

Couchbase High Availability and Disaster Recovery: 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

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

Couchbase Server 5.0 delivers some great new authentication features that require some minor changes to your client connection code.  The specific changes to the SDK are outlined in this post and also refer to changes made in the pre-release April Developer Build as...

/ May 1, 2017

Use Docker to Deploy a Containerized Java with Couchbase Web Application

Not too long ago I wrote about containerizing a Node.js RESTful API and Couchbase Server to demonstrate how easy it is to deploy web applications in a quick and reliable fashion.  In that guide we created a simple API, built...