Straight from the Heart

Archive for the ‘Coding’ Category

Some bits and pieces related to java Serialization

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 [...]

Tags:

Eclipse Trader- An Open Source RCP Project

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 [...]

EMMA: a free Java code coverage tool

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 [...]

Tags:

XML Entity Resolver

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 [...]

Tags: ,

Translator

a

The Calendar..तारीख

December 2009
M T W T F S S
« Feb    
 123456
78910111213
14151617181920
21222324252627
28293031  

पन्ना

Pitara….पिटारा

हिसाब-किताब

  • 8,025 hits

Tashveerein.......तसवीरें

Beauty

Underworld

do we know what it is about

Hope

Arco de Chuchilleros - Plaza Mayor

Star Storm over Haystack Rock

Frozen Over

Xmas

On the Way to Parker Falls.

Spiderman!

More Photos

Thanks for the Visit…आने का शुक्रिया

website statistics

Rumbling of Mind

  • its raining here...got fully drenched...after a long time.. 5 months ago
  • Struggling with transactions@hibernate......old JDBC was so good...:).. 6 months ago
  • why Implementation of Generics in java is so confusing.....ex. Map put(K key, V value) and get(Object key) ..:o.. 6 months ago
  • @shakhan Jamun...thats great..forgot when i ate it last... 6 months ago
  • Playing with crude version of java script based widgets. 6 months ago

Aaate-Jaate..आते-जाते

Top Clicks..पसंदीदा

  • None

The Selected One's..चुनिन्दा

U come from..