Posts

Showing posts from September, 2010

Database programming in java

Image
This post will guide you to do programming in java to access database. Before do the programming create a MS - Access database with your desired name. Then create a table and call it as student. Create a column and name it as "Name". Enter some of your friend names in the table. Then goto control panel -> Administrative Tools -> Data Sources (ODBC). It will open a new window as given below  Click on the button "Add". It will open a window as given below. Here we should select the driver which can communicate to the access database. So select the driver "Microsoft Access Driver (*.mdb). " and then click the button "Finish". A new window will appear as given below Here click on the button "Select". It will ask you select your database needs to be connected. Then press ok. Then enter the name for your data source which will be used later in the program. Here I am giving the data source name ...

Creating Threads in Java

Hi friends, please find the very good video tutorial which explains how to create tread in java. Creating Threads in Java

Teacher Day Special

I want to share my experiences during my studies with the world. I completed my +2 in National Higher Secondary School, Mannargudi. During that time our Head Master was Mr.Sethuraman. He was very strict in student discipline. If any student involved in indiscipline activities, He used to call that student parents and will ask them to say apology for their children activities through mic. Each class room has a speaker. So we could listen the parents. How hard  is it for the parents. We used to think why the parents should be punished for their children mistakes. But we could not express. Teacher like him to should change. The primary task of the teacher is not just teaching the lessons. The student should know how to behave in the society. Because students are moving the teacher for long period of time than with their parents. So where can they learn all those things? I am a good ranking student so far. But in a critical situation, the student who called as waste and useless by ...

Tips to learn programming

1. Programming is not meaning that writing source code. It means that how the behavior of the system should be. 2. Observation is the key for the programming. We should observe the world closely and compare it to the programming languages while learning it. 3. It creates the awareness to the mind that in which cases what should be used. example :        When you learn pointer compare the following real world scenario to understand it's real use.       Including you and me there are three friends. Assume that due to my job activities I could not contact you for past 1 year and lost your contact details too. But I am having the another friend contact detail. Through him I can get your contact detail. Here the friend who can give the detail about you is the pointer.      In the technical term a variable which contains the address of the another variable is pointer. This is how the each element in the programming languag...