Wednesday, September 17, 2014

Testable code

Wednesday, May 23, 2012

Install Apache Solr 3.6 on Jelastic Cloud Tomcat 6 instance

1. Get Solr 3.6

a. Get Solr 3.6 from

b. Uncompress the downloaded archive to any folder .. let's say a directory called Solr3_6
These are the contents of the downloaded archive

c. The files we are interested in are inside the example folder which contains an example Solr configuration.

d. We will set up this example configuration to run on a Tomcat 6 instance in Jelastic.

2. Setup Jelastic Environment

a. Get a trial Jelastic account if you do not have a Jelastic account already.

b. Click on Create Environment and Select Tomcat 6 as your Java Server. You can add a database , say MySQL , if you intend to index DB records.

c.Give the Environment a name and click apply.

d.Once the Environment has been created , click on Tomcat config

The webapps folder that you see corresponds to $Catalina.Home/webapps (/opt/tomcat/webapps)
The home folder corresponds to user.home (/opt/tomcat/temp)

e. Create a folder called solr under the webapps folder (1). This is where we will deploy Solr.

f. Create a folder called solr under the home folder (2). This will be Solr.Home with all the config files.

3. Upload Solr Files , Create Env entries, Deploy Solr

a. Click on the upload button under Deployment Manager. Choose solr.war file found inside example/webapps and upload it .

Before we deploy this to Tomcat , we need to do a bit more work.

b. Upload the contents of example/solr/conf to the solr folder created inside home (user.home/solr) .

c. We need to set the Solr.Home environment variable to point to user.home/solr . To do this make the following entry into the variables.conf file


d. Now go back to deployment manager. Hovering the mouse over solr.war will give you the option to deploy or delete the file.

e. Click on Deploy and deploy to solr.

e. Restart tomcat if you need to.

f. Now you'll see solr.war deployed under Tomcat/solr . Click on the "open in browser" button to navigate to Solr.

Jelastic Java Hosting in the Cloud

Had been looking for a Java Hosting Service.
Found Jelastic . Their beta and trial is free .
Impressed with what I've seen so far.

Sunday, December 25, 2011

Flexcover - Flex code coverage tool

Flexcover is a code coverage tool for Flex, Air and AS3.

Download Flexcover :

Learn how the modified sdk works :

Documentation search for CSS , JS, DOM, PHP lets you search for CSS, HTML , DOM, Javascript , jQuery, PHO documentation



Javascript :


jQuery :


Kendo UI - Javascript Framework

Kendo UI is a HTML5, jQuery based javascript framework for building Rich Javacsript Apps.
Apart from rich UI controls, Kendo UI includes a JavaScript DataSource, cross-device Drag and Drop API and Templates.

Download Kendo UI :

Kendo UI is dual-licensed, Commercial and Open Source (GPLv3). Learn more about Kendo UI licensing :

Web / HTML5 :
Data Visualization :
Mobile :


Raphaël Javascript Library

Raphaël is a javascript library to create graphic objects like charts or effects like reflection,rotation,etc. The objects created using Raphaël can be operated upon as DOM objects.
gRaphaël , based on Raphaël, can be used to create interactive charts.

Download Raphaël :
Uncompressed source
Minified version

Raphaël Documentation can be found at

Raphaël Discussion group :

Tuesday, November 29, 2011

Blackberry DevCon Asia in Singapore

Blackberry Devcon Asia , originally scheduled to happen in Bangkok, Thailand has been relocated to Singapore .

Special offers include a 16GB BlackBerry® PlayBook™ tablet as well as a free copy of Adobe® Flash® Builder® 4.5 Premium for all attendees

Sessions catalogue :