Home » Author Archives: Tugdual Grall (page 2)

Author Archives: Tugdual Grall

Tugdual "Tug" is Developer Advocate at MongoDB. He is passionate about development and software architecture using Java platform but also others one. Tug He is also co-founder of the Nantes Java User Group (NantesJUG) in France and developer of the Resultri site hosted on GAE.

Pagination with Couchbase

couchbase-logo

If you have to deal with a large number of documents when doing queries against a Couchbase cluster it is important to use pagination to get rows by page. You can find some information in the documentation in the chapter “Pagination“, but I want to go in more details and sample code in this article. For this example I will ...

Read More »

How to implement Document Versioning with Couchbase

couchbase-logo

Introduction Developers are often asking me how to “version” documents with Couchbase 2.0. The short answer is: the clients and server do not expose such feature, but it is quite easy to implement. In this article I will use a basic approach, and you will be able to extend it depending of your business requirements. Design The first thing to ...

Read More »

Deploy your Node/Couchbase application to the cloud with Clever Cloud

couchbase-logo

Introduction Clever Cloud is the first PaaS to provide Couchbase as a service allowing developers to run applications in a fully managed environment. This article shows how to deploy an existing application to Clever Cloud. I am using a very simple Node application that I have documented in a previous article: “Easy application development with Couchbase, Angular and Node”. Clever Cloud ...

Read More »

SQL to NoSQL : Copy your data from MySQL to Couchbase

couchbase-logo

Introduction During my last interactions with the Couchbase community, I had the question how can I easily import my data from my current database into Couchbase. And my answer was always the same: Take an ETL such as Talend to do it Just write a small program to copy the data from your RDBMS to Couchbase… So I have written ...

Read More »

Introduction to Collated Views with Couchbase 2.0

couchbase-logo

Most of the applications have to deal with ‘master/detail’ type of data: breweries and beer department and employees invoices and items … This is necessary for example to create application view like the following:         With Couchbase, and many of the document oriented databases you have different ways to deal with this, you can: Create a single ...

Read More »

Couchbase 101: Create views (MapReduce) from your Java application

couchbase-logo

When you are developing a new applications with Couchbase 2.0, you sometimes need to create view dynamically from your code. For example you may need this when you are installing your application, writing some test, or you can also use that when you are building frameworks, and wants to dynamically create views to query data. This post shows how to ...

Read More »

Couchbase : Create a large dataset using Twitter and Java

couchbase-logo

An easy way to create large dataset when playing/demonstrating Couchbase -or any other NoSQL engine- is to inject Twitter feed into your database. For this small application I am using: Couchbase Server 2.0 Server Couchbase Java SDK (will be installed by Maven) Twitter4J (will be installed by Maven) Twitter Streaming API called using Twitter4J In this example I am using ...

Read More »

Couchbase 101 : install, store and query data

couchbase-logo

Introduction In this post I just want to show how easily is to get started with Couchbase, and also explain how to “query” the data. The basic steps of this tutorial are: Install Couchbase Create Data Query Data I will try to post more articles, if I have time to show how to use Couchbase from your applications (starting with ...

Read More »

Google App Engine Full Text Search with Cloud SQL

google-app-engine-logo

Many Google AppEngine developers have been waiting for the Full Text Search feature, especially coming from Google the biggest search engine on the Web. I was quite happy to see that Google team is working on it as you can check in the Google I/O 2011 session : Full Text Search by Bo Majewski, Ged Ellis . As far as ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns