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.
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.
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 [...]
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 [...]
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.
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 [...]
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 [...]
I have evaluated two popular approaches of developing OSGi bundles with Maven. This post describes the methodology I used to test..