Abstraction Builder

Building simple and elegant programming abstractions

Movie Search Android App Using Nano

| Comments

Some one did a great job to write a tutorial about the development of an end to end Android application, this is a full android application, including main activity UI, HTTP interaction, async request handling and response parsing, list view, etc. In that tutorial, the author manually parsed the response to domain objects using SAX parser built in Android, while in this post, I will show you how I adapted that application by leveraging automatic annotation driven binding supported by Nano xml binding framework.

Nano on Android Tutorial 1

| Comments

This is my first post showing how to use Nano on Android, in this post, I will show you how to use Nano to export and import a set of domain object as XML to/from the SD card on Android. Nano is tailored for Android platform, you will see in this post how Nano can greatly simplify tedious and boring object and xml binding task in Android application development.

Nano Benchmark on Android

| Comments

Since I have built a light-weight XML/JSON binding framework tailored for Android platform, I want to test its performance on Android when compared with typical xml parsers on Android like SAX, DOM and Xml Pull, I will show you detailed test results in this post.

Schema Driven Nano Binding

| Comments

Nano is a light weight xml/json binding framework targeting Android platform, in this post, I will show you how to use Nano and the accompanying compiler tool mxjc together to do schema driven xml or json data binding - similar to the development process using JAXB and XJC.

Nano Compare to Jaxb

| Comments

I just read an interesting post How Does JAXB Compare to Simple, since I have just built a leight-weight xml and json binding framework called Nano, in this post I’ll run a similar comparison between Nano and JAXB. By the way, since I am a lazy developer, I shamelessly copied much content from that post:), anyway, part of the content of this post should be contributed to the original author of that post.

Nano Hello World

| Comments

Nano is my light-weight xml/json binding framework, it is a light-weight alternative to JAXB. Both Nano and JAXB are annotation driven, you annotate your domain classes, then use Nano or JAXB to convert Java POJO to/from XML.Two highlights of Nano are :

  1. Tailored for Android platform.
  2. Support both xml and json binding.

In this tutorial, I will show you simple usage of Nano in normal Java environment, in later posts, I will show you how to use Nano on Androd platform.

Producing and Consuming 4TB Log Daily on One Commodity Machine

| Comments

I have built a big queue, and I have turned it into a Thrift based queue service, in this post, I will show you how to collect logs using this queue service, also, I will show some performance number to let you know the capability of big queue as a log collecting tool.

Collecting and Consuming Logs using Thrift based Queue Serivce

Big queue was originally designed for log collecting and analysis scenario, it’s very simple to collecting logs using big queue, all you need to do are:

Sort and Search 100GB Data on a Single Machine

| Comments

How to sort 100GB or more data in effective way? You may tell me to use Hadoop, oh, I know Hadoop can definitely do that, but the cost to build and maintain Hadoop always make me headache. Can we sort 100GB or more data on a single commodity machine with less than 8GB memory? The answer is yes, use a technology called external sorting. Since I have just build a big, fast and persistent queue, I want to show you how to use my big queue to sort huge amount of data on a single machine with limited physical memory.