-
Core Java
Loan pattern in Java (a.k.a lender lendee pattern)
This post is about implementing loan pattern in Java. Use Case Implement separation between the code that holds resource from…
Read More » -
Enterprise Java
SpiderMonkey to V8 for MongoDB and mongometer
With 10gen switching the default JavaScript engine for MongoDB 2.3/2.4 from SpiderMonkey to V8 I thought I’d take the opportunity…
Read More » -
Enterprise Java
Spring MVC 3: Upload multiple files
It was just another long day at office with the database not available and one of the team members lagging…
Read More » -
Enterprise Java
Spring Data JDBC generic DAO implementation – most lightweight ORM ever
I am thrilled to announce first version of my Spring Data JDBC repository project. The purpose of this open source…
Read More » -
Enterprise Java
Effective Logging in Java/JEE – Mapped Diagnostic Context
It all started when i was sitting with a colleague to resolve some application issue, when i noticed something interesting.…
Read More » -
Android Core
Android TextView with custom fonts
While developing an android app I found that everytime I was trying to use a custom font on a TextView…
Read More » -
Scala
Probability distribution for programmers
This is one of these very simple programming puzzles I came across recently: given a function returning random integers from…
Read More » -
Software Development
OAuth 2.0 Bearer Token Profile Vs MAC Token Profile
Almost all the implementation I see today are based on OAuth 2.0 Bearer Token Profile. Of course its an RFC…
Read More » -
Core Java
Fluent Object Creation
Many posts have been written on this subject (overwhelmingly many) but I just wanted to contribute my two-cents and write…
Read More »