Hibernate Statistics
In production you may have run into problems where a certain flow is slow, turning hibernate statistics on using the jmx-console show a flow unaware view, the blog details somethings to make it stick to a flow
Continue Reading Add comment October 7, 2009
Runtime Spring Bean Swap
Ok, the post topic is a bit grandiose, it should have been “Development time swap of spring beans using a custom classloader”, so a few disclaimers, I am only talking about development, I am not aiming for the most optimal solution and yes I am still working on it. The blog is about an approach that comes with some code snippets. Is more of an idea implemented for a very particular problem which can be applied in a more generic way rather than an actual generic solution.
Continue Reading 2 comments December 15, 2008
Using Java XML API
Author: Fazal Gupta
Introduction
Java XML APIs have been one of the most used APIs in Java world. Still I think most of you would agree with me that there are so many mysteries in it, that even for developers who have been working on them for ages, it is a bit scary. The cumbersome implementations have only multiplied the horrors. But fact of the matter is whether you love or hate them, you need to live with them and use them in the most effective manner to solve the problem at hand while spending minimum of your effort in figuring out ways to parse the XML. In this article I would like to mention few small idiosyncrasies which I had to face while working with XML APIs. I have worked with Xerces and Xalan implementations and therefore my experience is based on these implementations.
Continue Reading 4 comments September 1, 2008
Java Debug 101
Author: Apurba Nath
Anyone who has done some serious development knows about debugging. There is a lot of stuff that goes under the hood for debugging, this blog takes a look at some of these. After reading this blog the reader may have a better understanding of the reason behind rare but weird errors about the “line number information not being present” when we try setting a break point. To keep things simple I am going to cover only the basics and will oversimplify and generalize without much discretion.
There are two parties in debugging, one the program which is running and the other which is issuing debugging commands to it.
Continue Reading Add comment August 25, 2008
Querying it jQuery way: getElementsByClass
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=27
8 comments July 7, 2008
Concurrency and HashMap
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=25
5 comments June 29, 2008
J2EE Applications and Clusters
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=23
4 comments June 19, 2008
Java Volatile is Powerful
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=19
6 comments May 25, 2008
String Concatenation and Optimizations
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=18
Add comment May 5, 2008
Hibernate query cache
Post has been moved to our New Blog. http://blog.webscale.co.in/?p=15
3 comments May 5, 2008