Author Archives: jaydeepm

Using Oracle Dialect in HSQLDB

HSQLDB supports Oracle dialect starting version 2.0 onwards. However, there is not much documentation or examples around this feature. In this post, I will explain the usage of this feature with a simple example. To enable SQL dialect, two steps … Continue reading

Posted in Java, Oracle, Programming | Tagged , , , | Leave a comment

GWT Designer is now free! Yippee!

GWT Designer is a powerful UI development tool for GWT. It is based on the Eclipse framework. Initially a paid tool, it has been re-launched as a free product after Google’s acquisition’s of Instantiations. Read further for details… Continue reading

Posted in GWT, GWT-Ext, HTML, Java | Tagged , , , , | Leave a comment

Apache POI and Open Office document formats

Apache POI provides a very simple yet powerful API for creating/modifying/reading Excel documents. Prior to the 3.6 release, POI was able read/write Excel documents only in Microsoft’s OLE Compound Document format. 3.6 onwards, POI has included the support for Microsoft’s OOXML (Open standard for creating and reading Excel documents. Read on to figure out how seamlessly it integrates with Open Office documents. Continue reading

Posted in Uncategorized | Tagged , , , , , , | 2 Comments


If you can keep your head when all about you Are losing theirs and blaming it on you; If you can trust yourself when all men doubt you, But make allowance for their doubting too; If you can wait and … Continue reading

Posted in General | Leave a comment

Thought provoking…

A thought provoking mail that I recently received… Continue reading

Posted in General, Nostalgia | Leave a comment

Go, Kiss the World

Welcome Address by Subroto Bagchi, Chief Operating Officer, MindTree Consulting India to the Class of 2006 on July 2, 2004 at IIM Bangalore on defining success. Continue reading

Posted in General | Leave a comment

GWT Quick Tip: How to check whether a GWT application is running in Hosted Mode

Sometimes, at runtime, you need to detect whether the application is running in Hosted Mode or not. E.g. you might decide to enable client side logging using GWT-Log only when the application is executing in Hosted Mode. The logging should … Continue reading

Posted in GWT, GWT-Ext | Tagged , , , | Leave a comment

Java Design Patterns – A Short Writeup

A design pattern is a general, language-independent technique used to solve a class of related problems. A design pattern is a widely accepted solution to a recurring design problem. It is a guideline rather than a specific solution. An idiom, … Continue reading

Posted in Java | Tagged | Leave a comment

Number of Days Since 1900

Here is a simple Orace query to calculate the number of days since 1900. Thanks to Ari Kaplan for the query!

Posted in Oracle | Tagged , | 2 Comments

Get the Last Day of The Month in Java

Use the getActualMaximum(int field) method of the Calendar class to retrieve the last day of the month. See the below code for usage details. The code retrieves the last date for Feb 2009 as an example. You can modify the … Continue reading

Posted in Java | Tagged , , | 1 Comment