Fun with AOP - reducing redundant code - the ‘for’ loop

Written by roshanallan on 15.07.2008 | Java

A few days ago I was coding a simple load-testing program using ‘for’ loops. Something of the form:
package com.plexibus.samples;

public class HelloWorldClient {

public static void main(String[] args) {
HelloWorld hw = new HelloWorld();

long startTime = System.currentTimeMillis();
for(int i=0; i<10000; i++) {
hw.greet();
[...]

Fabric/grid enable Spring beans with Appistry EAF

Written by roshanallan on 21.06.2008 | Build, Java, grid

The following is a guide to fabric-enabling (or grid-enabling) your existing Spring beans using Appistry EAF. We will use Maven for build configuration.
Pre-requisites to running the code sample provided:

JDK 1.5+
Appistry EAF 3.8 Release

Maven 2.0.7+.

An IDE to write/edit code. I use Eclipse 3.3.2 and the code in the zip file has eclipse-related files. But you [...]

Time Management

Written by roshanallan on 28.05.2008 | General

A great time management lecture by Randy Pausch.

Bookmark It

Hide Sites

$$(’div.d9′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) });

Nexus - Maven Repository Manager

Written by roshanallan on 22.04.2008 | Build, Java

I installed Nexus on my Ubuntu server last weekend. So far it’s works great. Their single page documentation was very helpful during installation and configuration
I use Artifactory at my work place. And I’ve attempted using Archiva at home. But after installing Nexus, I prefer it over Artifactory and Archiva.
Here are a few reason why I [...]