Saturday, August 15, 2009

Trapster traffic camera app coming to Palm Pre


If you’re like the average American, you spend some forty minutes every day on the road. Increasingly those forty minutes are being monitored by speed cameras and red light camera, supplementing the traditional cop-on-the-side-of-the-road monitoring of traffic. While we at PreCentral don’t advocate that you speed or run red lights, we know that it happens, and any warning to help you drive safely and avoid a ticket is fine by us. Enter Trapster, a database of speed traps, red light cameras, and speed cameras augmented with GPS tracking and constantly updated by people like you and me. Just last month the service exceeded one million users, thanks in part to its deployment on multiple mobile platforms. When active, Trapster monitors your position and will alert you when you approach a reported trap.The good news is it'll be completely free.

[Via PreCentral.net] (Read more inside ..)

Thursday, August 13, 2009

How to connect Java Application with Oracle Database using JDBC Driver - Part 1

Today I will go through the basic steps to connect a Java Application with Oracle Database using JDBC Driver (Java Database Connectivity). To develop Enterprise Product connectivity of java application and oracle database is essential. When I was new to java, i have faced some problem for java and database connectivity using jdbc. So I want to make all this process bit easier for all the new comer in java and windows platform.






Prerequisites :
Steps for configuring the system and creating DSN (ODBC Data Source):
  1. Install Java Development Kit and Oracle Database.
  2. Place Oracle JDBC Driver (*.jar file) in java runtime folder and java development kit folder . eg: 'C:\Program Files\Java\jre1.6.0\lib\ext' and 'C:\Program Files\Java\jdk1.6.0\jre\lib\ext'.
  3. Create a Data Source Name (DSN) required for database connectivity in windows.
  4. For DSN go to Start->Control Panel->Administrative Tools->Data Sources (ODBC).
  5. ODBC Data Source Administrator will open. Click on the Add button to create a new data source.
  6. Select 'Microsoft ODBC for Oracle' & click Next.
  7. Fill the Data Source Name - name for the data source, Description - Just a simple description, User Name - Oracle Database User name, Server - name of the server where database is installed ,( localhost - if it is installed in the local machine or the IP if the the database is installed in a remote machine). Click OK and close the ODBC Data Source Administrator.

Now, the system is configured to run any java oracle connectivity program.You can start coding the program in any IDE or open a notpad.

Below is the source code of a jdbc program to determine wheather all your setting are OK or not. Compile the program and execute it. If the program is executed without any error or exception and you get 'JDBC Driver loaded' and 'Connected to the Oracle Database' as output then you have done all the setting correctly and you are able to connect to the oracle database through your java program.
If you encounter any problem please get back to me, I will help you to sought out the problem.


Source code :

import java.sql.*;

public class ConnectOracle {

public static void main(String[] args) {
String driver="sun.jdbc.odbc.JdbcOdbcDriver"; //
String cs="jdbc:odbc:connectOracle"; //connectOracle is the data source name
String user = "system"; //username of oracle database
String pwd = "tom"; //password of oracle database
Connection con = null; //connection variable assigned to null
try
{
Class.forName(driver);// for loading the jdbc driver
}
catch(Exception e)
{
System.out.println(e);
}
System.out.println("JDBC Driver loaded");
try
{
con=DriverManager.getConnection(cs,user,pwd);// for establishing connection with database
}
catch(Exception e)
{
System.out.println(e);
}
System.out.println("Connected to the Oracle Database");
try
{
con.close();
}
catch(Exception e)
{
System.out.println(e);
}
}//end of main()
}//end of class()


In my next post we will see how to insert data into Oracle Database through your java program.[link]

Reblog this post [with Zemanta]



(Read more inside ..)

Wednesday, August 12, 2009

Google Wave - A new online communication tool is on its way


Google is launching a new web communication and collaboration tool for the digitizing generation "Google Wave". It will be available later this year. Basically its a new variant of social networking site or you can say a personal communication tool. It is designed in such a way that e-mail, instant messaging, wiki, and social networking will work together in a single web platform. Here people can communicate, work, share ideas and documents, edit google map and many more stuffs to do.



  • Register yourself with Google Wave & get notified about it information.

  • Developers: Those who are interested in contributing some of their ideas or wann develop application for wave process. Google is providing Google Wave Api. Just register a sandbox account and start participating in Google Wave process.
Google Wave Preview:

(Read more inside ..)

Recover or Backup your favourite websites online freely


In present day scenario, you visit a site having some great stuffs you need for you project,presentation etc. Next day when you visit again you might not find the site. Its server might be hacked or for any problem that might not be working.

'Your favorite site is lost. What to do now ?'

The answer is here, I found a nice web application "iterasi.net". Its an online website archiving site. Create backup of any site you want without spending a penny. You have unlimited space to save any number of your favorite sites.

Steps:
  • Just register an account.
  • During registration process download the toolbar or create a bookmark button just by drag and drop.
  • That's it. Start saving the 'web'.

(Read more inside ..)

Monday, August 10, 2009

Google Voice is here say "bye bye to multiple contact numbers"


I found a phone managment service "Google Voice" recently lunched by Google. Presently it is for GrandCentral users and soon it will be available world widely. Now you can join it by invitation only. To get your invitation click here.

This service has awesome features:

  • Just one "Google Number" for all calls and SMS. A single number to ring your home, work, and mobile phones, a central voicemail inbox that you could access on the web, and the ability to screen calls by listening in live as callers leave a voicemail.
  • Google Voicemail as easy as email, with transcripts.
  • Voice Features free calls, conference calling, and many more features.
  • All this services are free.
It can be accessed from voice website, google voice phone system & voice mobile website.

Steps to register:

Video Overview of Google Voice:

(Read more inside ..)

MySQL User Administrator | Get it from Sourceforge.net

This software is designed to provide easy administration of MySQL users to MySQLAdministrators by the use of Graphical User Interface. This project is developed in Java, which makes this software platform independent.

Project Members:
-Arjan Singh Mundy
-Bishwajeet Kumar Naik
-Priyajeet Singh
-Sahadev Sahoo
-Saurabh Sinha

We are alumni of KIIT University,Bhubaneswar started the project for our college RedHat Training.But now we want it to be open source so that some more development can be done. All source code and executable jar files are hosted at Sourceforge.net .

Requirments:


Download & Review it @:
MySQL User Administrator | Get MySQL User Administrator at SourceForge.net

Shared via AddThis (Read more inside ..)

Sunday, August 9, 2009

Broadcast message to all blogging sites and social networks by single click

I have found a new web application "Ping.fm". I think it's very handy and useful for many of us who spend lot of time in publishing message in different blogging and social networking sites like Twitter, FriendFeed, Facebook, MySpace, LinkedIn, Blogger, Flicker ,Gtalk etc. Now you can save your time buddies.

The special feature is that you can post your message from your mobile, e-mail and IM by just one click. Then Ping.fm will broadcast it to all your social networking & blogging sites but before that you have to add your desired sites to the Ping.fm where you want to post your message that's it. (Read more inside ..)