BLOG.TIGABEATS.COM

A shrine where thoughts, ideas and random stuff is preserved

April, 2012

Spring 3.0 – Getting Started

Spring 3.0 is a framework which makes it easier to create J2EE Applications by means of DI and AOP,where DI stands for Dependency Injection, also known as Inversion of Control or IoC. Dependency Injection/Inversion of Control Dependencies are given to POJO (plain old java objects) rather than that they are aware of the dependencies and get them [...]

Unix timestamp Conversion

Simple one liner Amsterdam time date -d “1970-01-01 1098181096 sec GMT1″ GMT Time date -d “1970-01-01 1098181096 sec GMT”

Automated Code review

PMD eclipse plugin, which one can extend with custom rules. There is also a Maven plugin for this: http://maven.apache.org/plugins/maven-pmd-plugin/ and Bamboo plugin: https://plugins.atlassian.com/5987 Automated html reports can be generated using the maven plugin  or Bamboo plugin during each build in bamboo in continuous manner,. and have the reports available to everyone who has access to bamboo. however PMD [...]

ATG: Tuning Apache + Tomcat

I did some tuning on Apache which vastly decreased response times. The tests show increase vast decrease in response. (see table below) which is due to the following improvements made effective by the tuning (Increased maxclients, KeepAlive on. KeepAliveTimeout etc): 1) Reusable connections to handle multiple requests from the same client, which in return causes [...]