Articles in the Tech Notes Category
JEE, Tech Notes »
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 »
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 »
Java, Tech Notes »
@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 »
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 –>
…
