Archive for August, 2010

Patni walk-in ad on Facebook

Tags: , , , , , ,

Patni Computer Systems is a large IT services company and operates out of several locations in India. A few days back Facebook decided to show me this ad for walk-in interviews. Nothing unremarkable about it except that it is probably the first IT company ad that I saw on Facebook. Interesting. Many people fill in [...]

Continue reading » 2 Comments

Spring Transaction advice : AOP proxy vs AspectJ weaving

Tags: , , , , ,

You are using Spring Transactions with Annotations. MyBS.methodRequired has Required propagation. MyBS.methodRequiresNew has Requires_New propagation. … methodRequired (…) { … methodRequiresNew(…); … } Do you get a new transaction if you call methodRequiresNew from methodRequired? You don’t! Not if you are using the default proxy mode via AOP proxies through which transactional advice is applied. [...]

Continue reading » No comments

HotSpot JVM – Client / Server VM optimization – 260ms vs 0ms!

Tags: , , , , , ,

The Sun/Oracle HotSpot Java Virtual Machine is available for use in two flavors – the Client VM and the Server VM. The VM to be used can be specified by the -server and -client switches passed when starting the JVM with the java command. The default VM when no switch is specified is the Client [...]

Continue reading » 9 Comments

Fix ConcurrentModificationException on ArrayList with CopyOnWriteArrayList

Tags: , , ,

You have a List in your application that is traversed or iterated over very frequently but is modified very rarely. Like a ‘Top 10′ kind of list on your home page which is served for every hit to the home page (think hundreds of hits per second) and is updated by an hourly Quartz job. [...]

Continue reading » 2 Comments