Tech Notes | DeepakGaikwad.net
Home » Archive

Articles in the Tech Notes Category

JEE, Tech Notes »

[19 Jan 2012 | No Comment | ]

This article explains how to enable log4j logging and how to change configuration to generate different levels of logs in a web application. It also tells how to enable logging for different frameworks like Struts, Spring, Hibernate etc.

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

Android »

[26 Dec 2011 | No Comment | ]
First Application in Android Open GL ES

In this article, we set up some basic stuff, write simple classes, and make those run on some emulator or actual android device if you have. But, the important aspect of writing a simple example is to understand the basics of OpenGL usage, why we are using some of the classes provided in API, etc.

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.

JEE, Tech Notes »

[5 Nov 2009 | No Comment | ]

WSDL, webservice description language, is the contract definition of any webservice. This XML document is used to tell the world what is going to be the definition/structure of the webservice, what that webservice has to offer. Here is an example webservice document explained using inline comments. We are not taking any complex example here. But it is very close to real life wsdl. There are many tools available that can be used to write wsdl.

<?xml version=”1.0″ encoding=”UTF-8″?>
<wsdl:definitions targetNamespace=”http://www.deepakgaikwad.net/ws/ExampleServices”
xmlns=”http://www.deepakgaikwad.net/ws/ExampleServices”
xmlns:soap=”http://schemas.xmlsoap.org/wsdl/soap/”
xmlns:wsdl=”http://schemas.xmlsoap.org/wsdl/”
xmlns:xs=”http://www.w3.org/2001/XMLSchema”>

<!– Document the wsdl –>