google analytics code

21 December 2006

SUCCESSFUL EXECUTION OF MY FIRST JDBC PROGRAM, WITH A DIFFERENCE!!

connecting java program to the ms access database successfull!!
Atlast, on 19 dec 2006, i have successfully executed a program which connects to the MS ACCESS database, instead of the SQL SERVER [which i dont have in my system], retrieves data and shows it in the command prompt.
This came as a relief to me as everywhere, only the SQL SERVER is being used[at study centre], and i just thought of finding out if i could connect to ms access and work on it..
We just need to change the "MyDataSource" in the program to "MS ACCESS 97 DATABASE" (not case sensitive) or whatever is the name shown in the DSN list in your system.
It wasnt easy though. Initially, it shows a runtime error, something like "cannot access the database"...etc..
Then i changed the acount name and password.
AND IT WORKED STRAIGHT AWAY!!
I hope this can help me in getting in depth idea about all the JDBC and stuff related to it!!

19 December 2006

another of my poems

BLEEDING EARTH


Earth will be our home
Provided we do no harm
But then came industrial revolution
Due to the homo sapiens evolution
Buildings reached heavens with height
Uprooting any greenery in sight
Vehicles with smoke choke us
In toxic air they soak us
Atom bomb made earth cry
As Hiroshima &Nagasaki fry
Missiles pierce for blood
Causing earth to bleed
Isn’t earth a bleeding eye
When million lives die?
Damaged eye has another one
But for earth, there is none
Eye-like sensitive is our earth
And it must be at our heart

some of my poems

One of my best poems in my opinion:

BEST TASTE OF CRICKET[The Indo-Pak brand]


When the big time rings
No army takes its wings
When the whole nation is in battle mood
Army chiefs aren’t in battle mode
Rather,captain spins coin
Tension brings everyone pain
“Thrash them”pakis shout
Indians yell “smash them out”
Hence starts battle of guts
And not the battle of guns
When batsmen hit lightening shots
Bowlers appeal with thunderous shouts
Crowd soak in rain of thrill
In breeze of cricket they chill
But clouds of mistrust remain
Mutual trust we should regain
Let terror shun its bloody path
& change into a flower pot
then, with a lovely ‘dosti’ flower
taste the best cricket flavour!