Category Archives: Java

Useful code snippets in the Java Programming language.

Top Worst Java Errors

I’ve had my fair share of Java bugs. There is a stage in a programmer’s career that he or she either knows that they rather manage a convenience store or that they can debug common Java errors just by the way the code smells. Here are my list of worst common Java bugs [...]

Also posted in Programming, TechKnow | Tagged , , , , , | 2 Comments

Don’t Turn a Code Review Into a Code Rant

In programming circles and when talking about code, I’ve often hear mentioned the Perl slogan “There’s more than one way to do it.” Thinking about the many ways we do it, whatever feature ‘it’ represents, I believe that the root cause of many of the software bugs we encounter are because engineers implement the [...]

Also posted in Programming, Rant, TechKnow | 2 Comments

Top Griffon Tutorials and Resources

Griffon is the rapid desktop development equivalent to Grails or Ruby on Rails. Griffon is a desktop application framework written in Groovy, a scripting language that runs on the Java Virtual Machine. Just like Grails or Rails, Griffon is very DRY and opinionated, comes with generators, and separates your models from your controllers from your [...]

Also posted in TechKnow, Tools | 1 Comment

Google IO 2009: Mobile

I, like many 10-5 developers not working directly with ajaxified web 2.0 applications, was not able to go to the Google I/O conference. I don’t feel so bad not going since Google has just released video recordings of over 80+ technical presentations from Google I/0. Most of the technical presentations are pushing Google’s [...]

Also posted in Conference, Programming, TechKnow | Leave a comment

Lookup Pattern and Java Generics

In some situations I dislike the verbosity of declaring Java generics.

Map<Key<String, Integer>, List<Item>> m = getItemsMap();

But using Java generics reduces other forms of tedious class casting common when using List and Map objects. For example, in my current project their we use a Lookup pattern, used to locate concrete implementation to certain key services. [...]

Also posted in Programming, TechKnow | Leave a comment

Google App Engine for Java

Google App Engine was originally released, in Google beta, a year ago. Google App Engine originally had programming support for the Python programming language, but today, on the one year anniversary of its beta release Google has added Java support. Building Java support into Google App Engine means that they have built it [...]

Also posted in Ruby, TechKnow, Tools | Leave a comment