Posted by: Manu on: October 23, 2008
One of the interesting concepts of the java is Serialization. We all know in java we can create reusable objects in the memory as long as the JVM is in the running state. Serialization provides the flexibility of object persistence beyond JVM lifecycle.
In the short serialization is the process of saving state of an [...]
Posted by: Manu on: September 16, 2008
Today, I was going through a cool open source trading project– Eclipse Trader. It is a RCP (Rich Client platform) and developed using eclipse technologies mainly SWT, JFace etc.
PRO’s and CON’s-
The good thing about the application is you can define your own data feed say MSN-Money and it will populate all the charts, news and [...]
Posted by: Manu on: July 28, 2008
How to Use EMMA-
ANT and Emma can be used together to automate the generation of code coverage report. Following Steps are solving the same purpose-
First define properties-
<!– EMMA BEGIN –>
<property name=”emma.dir” location=”bin/emma” />
<property name=”emma.thresholds” value=”class:100,method:100,block:100,line:100″ />
<path id=”emma.libraryclasspath”>
<pathelement location=”lib/emma.jar” />
<pathelement location=”lib/emma_ant.jar” />
</path>
<taskdef resource=”emma_ant.properties” classpathref=”emma.libraryclasspath” />
<!– EMMA [...]
Posted by: Manu on: July 15, 2008
Today, while creating a xml entity resolver, i have got struck in a trifling situation. I was using the throws keyword for handling exception instead of try catch block at InputStream instance creation method for a particular url path-getInputStreamFromDB(String urlString), and due to that, in case of error, control was going to the ValidatingErrorHandler class (a error [...]
गुफ्तुगू ....