java

double-brace

Java Double Brace initialization

Personally I prefer constructor based initialization when possible in order to keep my objects immutable. However, for those times that I have to use setter initialization I use the double-brace initialization.

windows

Programming languages on Windows

In order to keep yourself relevant in the business, its good to know as many programming languages as possible as each language tends to bring a different train of thought. Throughout the years I have programmed in many different languages, even obscure ones as REXX to make POINTRED for OS/2 and xBase for my personal [...]

windows

Coding in Windows

Sometime by situation or by choice we would be coding in a less than ideal development environment (i.e. Windows).  BTW, in my case it is by choice because I want to play games without dealing with dual booting on my Lenovo T430.  So I just adapt and choose the products that will give me the [...]

Java SE CDI Event Example

I was recently wondering how to implement “listeners” on a CDI environment specifically in Java SE. One of the things I noticed was that I can’t seem to easily create something like an OSGi Blueprint Reference Lists in CDI.

Developing on NOSQL databases

Over the last few weeks I have been playing around with the concept of NOSQL databases for the enterprise.  Instead of just one implementation, I have tried it on three: MongoDB, HBase and Cassandra.  As expected on the enterprise architecture level, I had found was regardless of the implementation, the pros, cons, justifications, risks and [...]

Android Programming Lessons

Since I noticed a couple of my friends are planning to start up with Android programming, I thought I should try to blog my experience developing my Gas Prices app. I decided I wanted to do a simple app, but at the same time overkill it with best practices that I know of at the [...]