Tag: Java

The N1QL Query Language Now Supports Distributed ACID Transactions
Multi-document, distributed ACID transactions are now available in Couchbase as part of the N1QL query language. Couchbase introduced ACID transactions in its v6.5 release with the Couchbase SDKs, and this has now been extended to the Couchbase N1QL Query Service...

Using the Java SDK for Couchbase: The Basics of Get & Upsert
Using Java with Couchbase doesn’t have to be hard, even for a new developer. In this quickstart tutorial, we’re going to walk through the basics of creating and fetching JSON documents in Couchbase using the Java SDK. With minimalist code...

J is for June, July & Java Developers
As Java developers begin planning their June and July vacations, we felt it would be appropriate to celebrate our own commitment to a four-letter word that starts with J: Java. At Couchbase, this June and July are dedicated to Java...

Data Structures & Algorithms For NoSQL Applications
This article introduces Data Structures and how they work with Couchbase Server 7.0 Scopes and Collections features. What are data structures? Couchbase Data Structures is an API feature that aligns the language of the database interface with a programming language....

Peer-to-Peer Database Sync with Couchbase Lite
Couchbase Lite 2.8 release announced support for out-of-the-box, enterprise-grade peer-to-peer database sync solution. The new capability allows direct sync between Couchbase Lite enabled mobile and/or non-mobile embedded apps without the need for a cloud-based control point. In this post, we...

Migrating Data from MongoDB to Couchbase, Part 2
Prolog The previous article provided details on how to migrate a MongoDB data set to Couchbase Server. This article shows you how to use the Couchbase SDK to access the data via a Java console application. Code snippets show how...

Refactoring Spring Microservices Apps to work with Couchbase
I’m a big fan of online learning platforms, such as Udemy. For the price of a bottle of wine, you could learn pretty much anything, from psychology and Thai cooking to programming languages, operating systems and IT certifications. Recently, I...

Announcing Spring Data Couchbase 4.0
We are delighted to announce that the eagerly awaited Spring Data Couchbase 4.0 is now available with enhanced capabilities. Built on top of Couchbase Java SDK 3.0, Spring Data Couchbase out-of-the-box comes with technology enhancements and leverages the latest Couchbase...

Getting Rid of Sticky Sessions in Java | Couchbase Spring Session
Sticky Sessions refers to the need to redirect the requests of a given user to the same server where his session lives in. It is considered an anti-pattern as in case of a server failure, all users connected to it...

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