Skip to main content


Distributed OSGi services in JBoss Fuse

JBoss Fuse (Fuse ESB) is a great container featuring Apache Karaf as OSGi container. It has a great feature called Fabric, on which you can start another container efficiently and do provisioning from any container connected in one Fabric. It means that, you can uninstall bundles from in other container from your current container.

Fabric also allows a bundle to publish services and let them be consumed by other bundles. Not just by bundles in the same container, but in other bundles as long as publishers and consumers are connected in one Fabric.
I'm here not to to tell you how to use JBoss Fuse or what it is. But to tell you that it's been hard to find references about how to publish services and consume them in distributed environment. So, I want to share my experience to handle that with blueprint or with Spring DM 1.x.x based on scattered sources of information I have read for weeks.

Recent posts


SELECT ... FOR UPDATE is required to lock specific row in database in order to prevent other query thread to read or make changes to the same row. The lock is released once you update the data or commit it.

As a Spring lover, it's hard to find references about implementing the technique in Spring JDBC template. But finally I managed to use it.

Using other kernels with DSIXDA's kitchen

I love using modified kernels, if they support swap partition, overclocking, etc. They may unleash the beast inside my phone.

But, instead of compiling kernel myself which probably may destabilize your phone/device, I prefer to use a stable kernel from another popular ROM which is compatible with my phone/device. That popular kernel will be the core of my new ROM built with DSIXDA's kitchen.

How to create Android Custom ROM

Some of you probably wonders: "Why another ROM?", "Why not using existing custom ROM?". So, this is my answer. Some ROMs are created specifically to a specific radio. Therefore, ROMs from Europe may be not compatible with devices from Asia. I don't know, what the cause of it. In my case, using Europe ROMs may cause bootloop into my Asia device. So, I have to create my own ROM.

How to create it? You see, a lot of ROM enhancers (I'm not saying 'creator' since they do not create it but modifying either stock ROMs or another custom ROMs) use DSIXDA's kitchen to make ROMs. I'm going to tell you how to create a little bit super ROM from stock ROM using the kitchen in Ubuntu :D (Sorry, I'm not too good at Windows). This tips works on HTC Wildfire S, but more or less may be working on other devices.

Unlocking HTC Wildfire S

I was wondering how people managed to install different kind of Android. I was afraid and said to my self "Is it safe?", "Will it brake my phone?". HTC Wildfire S' small memory gives me no choice but to hack my phone. After searching about "how to root", "how to install custom ROM", etc, I'm finally able to share this experience with you.

Creating REST based Webservice with Apache CXF

As you know, there are 3 types of webservice out there named, RPC/Encoded type, Document/Literal/SOA type and REST type. But, the most supported ones are the RPC and Document types.

REST type gives you a lot of flexibility. This is how to create the server and the corresponding client using Apache CXF.

How to migrate into Subversion 1.7

So, most of Linux distribution has not included Subversion 1.7 yet. What I like most from Subversion 1.7 is that it only contains one .svn directory just like Git (I'm a Git fan actually). I'm going to document my experience installing Subversion 1.7 on Ubuntu 11.04 and migrating from 1.5 into this version