Old Blog

What Happened When You Assigned State to a Stateless Session Bean?

It’ll probably result in an EJBTransactionRolledbackException caused by a NullPointerException

September 10, 2013 · 1 min read

[Excel] Bulk Linking Cells to Sheets Whose Name Equates Cell's value

If you have an excel with an index page and many detailed sheets, you may find the below macro useful. The only requirement is to name your sheet with value of your cell/link in the index page

September 10, 2013 · 1 min read

[VBA] Save Attachements from Multiple Emails

September 2, 2013 · 1 min read

[Unix] – Recursively Listing Files Under a Directory

July 22, 2013 · 1 min read

[Database] Exists or Inner Join: Duplicate Records

June 16, 2013 · 4 min read

Which Form of String Comparison Is Supported

May 21, 2013 · 2 min read

Myths of Secure Web Browsing

May 18, 2013 · 2 min read

JSR 303 – Bean Validation – Let Your Bean Validate Itself

December 20, 2012 · 1 min read

JDBC Transaction Without EJB

EJB 3 is simple enough that delegating transaction management to it only cost little in creating and annotating an EJB business interface method. However, if you want to skip EJB altogether yet ensure all queries get executed inside a transaction, here’s a quick way

October 24, 2012 · 1 min read

JSR 303 – Bean Validation – Custom Constraints

August 25, 2012 · 2 min read

JSR 303 – Bean Validation – Nested Validation

August 9, 2012 · 2 min read

JSR 303 – Bean Validation – Basic

August 3, 2012 · 2 min read

ILLEGAL SPORT BETTING DURING EURO CUP

A cover of Tuoitre Cuoi magazine

July 10, 2012 · 0 min read

SPRING MVC – SESSIONATTRIBUTES ANNOTATION

June 30, 2012 · 1 min read

HOW YOUR CONSUMPTION BENEFIT SOCIETY?

Is $2000 = $3000 ? Mathematically no. Economically yes (or at least it seems to)

June 27, 2012 · 1 min read

Java XML Parse error: Tried all: '1' addresses, but could not connect over HTTP to server

March 9, 2012 · 1 min read

How do you display input validation error

February 24, 2011 · 1 min read

What makes Israel so innovative and entrepreneurial?

February 10, 2011 · 5 min read

Static vs Singleton Revisited

February 10, 2011 · 3 min read

Harvey Balls

○ ● ◐ ◑ ◒ ◓ ◔ ◕

January 23, 2011 · 1 min read

Static method vs Singleton class

Sometimes we write java class that has no state, each of its method is self-sufficient. It's then make sense (convenience, performance gain included) to convert those methods into static. Or, we can apply Singleton pattern on that class. So, which way?

January 16, 2011 · 3 min read

How Sun's certification exam are prepared

Insight from Berth Bates, lead developers of many Sun's certification exam

January 9, 2011 · 2 min read

Consistency in framework design

January 6, 2011 · 3 min read

Who owns the source code? Employee or employer?

December 21, 2010 · 1 min read

Quicksort vs Merge sort in Java

December 12, 2010 · 2 min read

How do you initialize an EJB3 Stateful Session Bean ?

November 20, 2010 · 2 min read

Weblogic SAXParserFactory Issue

October 26, 2010 · 2 min read

Recursive Tagfile

This is my experience with recursive tagfile on Weblogic 10.3. I also describe a few problems encountered and how I solved them

March 24, 2010 · 2 min read

Interesting - AKA

March 10, 2010 · 1 min read

Combine EJB and WAR file in a same web service EAR

March 2, 2010 · 3 min read

2-way SSL with WebLogic server 10.3

February 3, 2010 · 2 min read

J2EE Programming Tips

May 4, 2009 · 2 min read

Interesting - 2009

March 8, 2009 · 1 min read