Year: 2012
-
Enterprise Java
5 Tips for Unit Testing Threaded Code
Here’s a few tips on how take make testing your code for logical correctness (as opposed to multi-threaded correctness). I…
Read More » -
Core Java
Java: Choosing the right Collection
Here is a quick guide for selecting the proper implementation of a Set , List , or Map in your application. The best general purpose or…
Read More » -
Software Development
How to Cheat at Application Security
Developers need to know a lot in order to build secure applications. Some of this is good software engineering and…
Read More » -
Scala
Getting started with Scala and Scalatra – Part II
In the previous part of the tutorial we created a simple application from scratch and setup Eclipse so we could…
Read More » -
Android Core
Android Custom Hyperlinked TextView
Finding Links in Android is very simple you might have heard of Linkify which is a great class in which…
Read More » -
Software Development
How Hackers Choose Tools
Recently, a 2001 blog post with the title Java’s Cover written by Paul Graham (of Y Combinator fame) spread across…
Read More » -
Communications
Gateway interaction in Smack API
Gateway interaction is described by XEP-0100. The query xmlns (namespace) used for this is same as IN-Band registration, that is…
Read More » -
Core Java
Common code violations in Java
At work, recently I did a code cleanup of an existing Java project. After that exercise, I could see a…
Read More » -
Enterprise Java
Apache Digester Example – Make Easy Configuration
Address Problem – Hard Coding , Need to create custom configuration for your application like struts configuration file to vary…
Read More »