Category: Java

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

Getting Leaner with SubDocument and the Java SDK
In this blog post we’ll introduce an exciting new feature of the upcoming Couchbase Server version 4.5 (codename Watson), now in Beta. We are talking about the Sub-Document API (shortened to subdoc). What Is It About? The Client API Lookup...

A CRUD REST API with Couchbase, RxJava and Ratpack
In my two previous blog posts I have introduced Ratpack and the lightweight ODM layer available in our Java SDK. This post will build up on them and showcase a REST API to manage users through the Couchbase repository. I...

Ratpack, Couchbase and RxJava
Yesterday I left you with rough code that started a Ratpack server and used a synchronous Couchbase repository, leaving the RxJava part out. I intend to fix that today, and also tell you more about Ratpack. I am not going...

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

Use Couchbase and RxJava to Make Java Read CSV files
RxJava is an awesome tool for reactive programming that’s also useful as a Java CSV reader. In case you’ve never used or even heard of RxJava, it is a a way of programming with asynchronous data streams. It is also...

Couchbase as a First Class Citizen of Spring Boot 1.4
Spring Boot 1.4.0 MILESTONE 2 is out! This is a good time to tell you about the joint effort between Spring Boot team members and the Couchbase Java SDK team to offer a first class integration of Couchbase into Spring...

Embed Couchbase in an IoT Project for Data Synchronization
The Internet of Things (IoT) is becoming all the rage lately. Being able to craft any mechanical device, for example watches, televisions, thermostats, and have them communicate over the internet is the modern age. In this modern age, one thing...

Moving from MySQL to Couchbase
I think it is safe to assume that every developer or system administrator has touched MySQL at some point in time. It was often the rite of passage for any new developer a few years ago when langauges like PHP...

Using JRebel for Rapid Re-Deployment in a Couchbase Java SDK Project
It is no secret that Java projects take a long time to build. This long build time is variable depending on how many classes your project has among other things. Let's say you're a developer that likes to frequently check...

Storing, Indexing and Searching files with Couchbase and Spring Boot
I have been wanting to showcase most of the new Couchbase’s search features available in 4.5 in one simple project. And there have been some interest recently about storing files or binaries in Couchbase. From a general, generic perspective, databases...

Load CSV Data into Couchbase using Apache Spark
I’ve been spending a lot of time working with Big Data tools lately, in particular Apache Spark. In case you’re unfamiliar, Apache Spark is an incredibly efficient tool for processing massive amounts of data. It performs significantly better than MapReduce,...