Connecting Java and MySQL

Hi

As you all know Java is one of the best programming languages around and MySQL is the world’s most popular open source database. Often these are used to build business applications. There arises the need to connect both of these technologies. But for a newbie like me it is quite a daunting task to make them talk to each other. So, I am putting forward a tutorial showing how to accomplish the task.

I am assuming that the reader have installed both Java and MySQL.

How to find the version of the .Net (dotnet) frame work installed

To find which version(s) and service pack level(s) of the Microsoft .NET Framework is/are installed in your system do the following:

Checking in Registry

Click Start, then type regedit in the Search programs and files box (Vista, Windows 7), then press Enter.

Filebox

Click Run then type regedit in the Run Dialog box (Windows XP), then press Enter.

Changing the Time Format in Windows Vista from 24 hour to 12 hour

Today I wanted to change the time format of my system running Windows Vista. I found out, it is a little different from what we used to do in Windows XP. So I decided to document it for fellow Windows Vista users.
Time Format of Vista can be changed using following steps :

(i) Go to START the select RUN (if Run is not present is Menu then type Run in the Start Search box of the Start Menu) and type in intl.cpl
Another way of accomplishing the task is to go to Regional and Language options in Control Panel and select Clock, Language, and Region.

(ii) Click Customize this format.

Restoring Mozilla Firefox Default Settings in Windows

Mozilla Firefox is a free and open source web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation. As of April 2011, Firefox is the second most widely used browser with 30% of worldwide usage share of web browsers.

As we use the browser numbers of stuffs gets attached to it. So we may want to get rid of these additional tools. This can be done without reinstalling Firefox as shown below:-

Updating Drupal


Today I shall show you how to upgrade your Drupal web application to latest stable version.

It is strongly recommended that you always keep your Drupal site up to date with the very latest minor release available, to remove known security vulnerabilities and existing bugs.

How to find out that our Drupal site needed to be updated?

Microsoft Word shortcut keys

Microsoft Word is full-featured word processing software from Microsoft. It is an advance program with fundamental desktop publishing capabilities that has become the most widely used word processing software on the market.

Keyboard shortcuts of Mozilla Firefox

This is a list of keyboard shortcuts in Mozilla Firefox. If you have enabled Emacs-style text editing shortcuts in GNOME, they will also work in Firefox. When an Emacs text editing shortcut conflicts with the default shortcuts (as occurs with Ctrl+K), the Emacs shortcut will take preference if focus is inside a textbox (which would include the location bar and search bar). In such cases you should use the alternate keyboard shortcut if one is listed below.

Java Data Types

Data types specify the size and type of values that can be stored. The variety of data types available allow the programmer to select the type appropriate to the needs of the application. Data type in Java can be classified as:

  1. Primitive types
  2. Reference types

Java has 8 primitive types: -

boolean
char
double
float
byte
int
short
long

Also Java has 3 reference types:
Class
Arrays
Interfaces

Java Keywords

There are currently 50 reserved keywords defined in the Java programming language. These keywords are special words that are of importance to the Java compiler. Due to this reason these keywords cannot be used as names of variables, class, method or identifier. Even though const and goto are reserved keyword in Java yet these are not used.

abstract

Syndicate content