Oracle Releases Database 11g

Oracle has introduced Oracle Database 11g, which claims to enable organisations take control of their enterprise information, gain better business insight, and adapt to an increasingly changing competitive environment.
The new release extends Oracle’s database clustering, data centre automation, and workload management capabilities and claims to tackle transaction processing, data warehousing, and content management applications.
Oracle Database [...]

Using ReentrantLock for thread synchronization

ReentrantLock was introduced in Java 1.5. This can be considered as a replacement for the traditional “wait-notify” method. The basic concept is, every thread need to acquire the lock before entering in to the critical section and should release it after finishing it. And its the most basic concept of synchronization.
ReentrantLock eliminates the use of [...]