Category: Java

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

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

Note: This post has been updated to reflect the production version of the Couchbase Analytics Data Definition Language. Not too long ago I had written about using Couchbase’s new Analytics service, sometimes referred to as CBAS, within a Node.js application....

Peter Reale March 16, 2018
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

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

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

Tyler Mitchell May 1, 2017
Use Docker to Deploy a Containerized Java with Couchbase Web Application

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

Create a Continuous Deployment Pipeline with Jenkins and Java

Create a Continuous Deployment Pipeline with Jenkins and Java

Lately I’ve been working a lot with Jenkins to run Java JAR files for continuous deployment of one of my applications.  In case you haven’t seen it, the keynote demonstration given at Couchbase Connect 2016 used Jenkins to build and...

Docker and Vaadin Meet Couchbase – Part 1

Docker and Vaadin Meet Couchbase – Part 1

Running Couchbase as a Docker container is fairly easy. Simply inherit from the latest, official Couchbase image and add your customized behavior according to your requirement. In this post, I am going to show how you can fire up a...

Couchbase Mobile Changes Explorer – Part. 2

Couchbase Mobile Changes Explorer – Part. 2

Introduction The Couchbase Mobile Sync Gateway changes feed provides a way to monitor events in a mobile deployment. The feed makes it feasible to write sophisticated business logic. I wrote a tool to help examine and understand the feed. You...

Workshop Content for Full-Stack Java and NoSQL Development Now Available

Workshop Content for Full-Stack Java and NoSQL Development Now Available

About a week ago I was at DevNexus 2017 in Atlanta, Georgia, giving a workshop on creating full stack applications using a variety of technologies such as Java, Angular, Docker, Couchbase, and JavaFX. Everyone who participated in the full day...

Using Couchbase Full Text Search Service in Java

Using Couchbase Full Text Search Service in Java

Full-text based search is a feature that allows users to search based on texts and keywords, and is very popular among users and the developer community. So it’s a no-brainer that there are lots of APIs and frameworks that offer...