Friday, October 29, 2010

Simple way to configure MySql Connector/J on Windows

Hello IT fellows, I think I am finding more time these days to post onto this blog. This is my third post on this blog in the same month.

So lets go on with out tech tweak (KIDA)for today. I recently have joined Advanced Java Coaching just because I love Java unlike any other language. Anyways we will have a separate post on this blog to see why am I so verbose of Java & always keep on talking so much about Java.

     I was just playing around to connect MS Access with Java. I could do it easily coz the windows OS inherently provides drivers for connection with Microsoft products. Then I thought of taking the program different way by connecting it to MySql. I found that there was no Driver available with my OS to connect Java with MySQL. So I downloaded it from here . Unzip the rar file and look for some .jar file in unzipped directory. Now you have to set Enviornment variable

CLASSPATH=something that already exists;.;path_to_this_jar_file;

Now your Java program is able to find the driver for MySql. This worked fine for me on Windows 7.
Credits to Aniket Zamwar's Blog

Sunday, October 24, 2010

What exactly is a web server | Server concept explained

OMG this is my second post in one day. This is funny for me myself. If you scroll down and just take a look at the frequency of my blogging you will realize it why. OK anyway lets get back to our technical JUGAAD(hack).

    It is not even a week passed when I was sitting with my friends and someone asked in the discussion 'Hey what exactly is a server?'. The question not only lit a flash in my mind but also a flashback. The flash relates to the question which was technical delight for me and flashback relates to my days of Engineering when I was just a novice guy in Computer Science.

    It was then, when sometimes I used to think what a server is. Many people came and told me that it is a computer or machine to which Client sends a request and the machine responds, sends webpages, files etc. But this was what a server does, this was not what I wanted. Anyway I already knew these things I needed some practical answer. There was no one who came upfront and told me what really a web server is until I realized it through my own experience.

     I agree a server is the one which responds to clients requests, maintains sessions & blah blah. If tomorrow some childlike Computer student comes to me and asks me what really a web server is, I am gonna tell him that "A web server is a simple computer with a special server software running on it. It has one directory called 'public directory'. When the client request file/s, the public directory is searched for and the file is delivered from it."


Hello IT Folks & computer nerds (computer KIDE in Marathi), I am back once again with something to 'EXPLAIN' to you guys. Recently I came across writing and compiling Java programs. I usually prefer Netbeans IDE for working with Java which does all compilation and execution for me on just a click of the button. Its been really long to have worked with compiling and running Java programs from the command line. But this time I felt the need to run the programs from the command line and all I could say was Oh My GOD...!

    So I begun hunting down Java tutorial websites, Java Discussion forums, Coding forums. I did not know what CLASSPATH & PATH mean and why do I necessarily need to do it. Setting only the values of these variables was not something I was looking for, but I wanted the explanation of the terms CLASSPATH & PATH which I came to know about with the help of my friend. So here we go with today's blog post.

Friday, October 1, 2010

Is 'MONEY' all that IT has to offer...?

Hello folks it has been really long time ever after I had my last post on this blog. So here I am once again to present my views regarding what all Information Technology Industry has to offer to you. The views that I have expressed below is just my personal belief, you may have somewhat different belief than this.

     For fellows from non-IT profession I must foretell that when you are hired by any software firm, you are working on the probation(temporary) basis for about 3-6 months. During this term your salary is also minimal. Later depending on your performance your are chosen to be a permanent employee of the company.


Related Posts Plugin for WordPress, Blogger...

Share This

Share |