Java | DeepakGaikwad.net
Home » Archive

Articles in the Java Category

Java, Tech Notes »

[10 Jan 2012 | No Comment | ]

Java 5 and later provides tools with JDK to generate thread dump. jconsole is one option which connects to the running JVM and provides graphical interface to access JVM data. Another option is using jstack to generate stacktrace of certain instance. I came across a scenario, where, there was a conditional requirement to generate thread dump

Java, Tech Notes »

[6 Dec 2011 | No Comment | ]

@XMLMixed tag behaved differently in JDK 1.6 as compared to JDK 1.5. It results in ClassCastException. Reason and possible solutions discussed in detail.

Java »

[1 Jul 2011 | No Comment | ]
Allocate Additional Memory to Java Heap Analyzer

Somebody asked me this problem that he is trying to analyze a considerably huge heap dump, and he is not able to analyze it, because IBM Heap Analyzer is not starting only. The error is – JVM not starting as the space is not getting allocated. He was claiming that the machine RAM is far more than what he is trying to allocate. How to solve this?

Java »

[4 Mar 2010 | 3 Comments | ]

Exception is disruption to a normal execution flow of a Java (in general any) program. This disruption can be because of a runtime problem e.g. data problem, initialization problem, etc. or because of a failing business condition. Java is capable of handling all such undesired scenarios elegantly. But when it comes to a developer to use these java generated exceptions to provide enough information to different stakeholders, then few mistakes occur.

Java »

[22 Feb 2010 | One Comment | ]

If one wants to select an important technology trend in Java world over past few years, then it has to be the growth and wide acceptance of open source frameworks in application development. If we look back, there are examples of frameworks which got wiped out with time, also there are examples of frameworks which have changed the way applications are getting developed. These successful frameworks have contributed to give a new look to Java itself. There are many reasons behind continued success of different frameworks available in market. I …