Home » Archive

Articles in the Java Category

Java »

[23 Nov 2008 | No Comment | 1,013 views]
Implicit & Explicit Locks

In Computer Science, synchronization refers to relationships among events. For example:

  • Serialization: Event A must happen before Event B.
  • Mutual Exclusion: Event A and Event B must not happen at the same time.

Prior to JDK 5, Java’s support for synchronization was based on implicit locks by the use of synchronized keyword. This article introduces explicit locks introduced in JDK 5.

Featured, Java »

[14 Feb 2008 | No Comment | 3,938 views]
Longest Increasing Subsequence

A classic computer science problem. The problem is finding the longest increasing subset of numbers within a given set. This article presents a solution in Java.

Featured, Java »

[8 Feb 2008 | No Comment | 722 views]
Boggle

A Java implementation of the popular word game.