Tuesday, November 30, 2010
Processor
Monday, November 29, 2010
Connect to a SQL database with JDBC
Java JDBC Connection - Obtaining the JDBC driver
Before you start working with JDBC, you'll need a copy of the Java JDK. If you don't have it already, you can get the JDK/SDK for free at Sun's Java web site, or it will also be included with many IDEs that you can use, including Eclipse and NetBeans.
Once you have the JDK, the next thing you need to do is to get the correct JDBC driver for your database. In most cases the JDBC driver will be provided by your database vendor. To make it even easier, I've created a page of JDBC drivers for common SQL databases.
Once you have the correct JDBC driver for your database, install it according to the instructions that came with it. Installation instructions will vary somewhat for each vendor.
Establishing a JDBC database connection in two steps
Once you have the correct JDBC driver installed, establishing a JDBC connection from your Java programs to your SQL database is pretty easy.
Regardless of whether you're trying to connect to Oracle, SQL Server, MySQL, Postgres, mSQL, or Interbase (or any other JDBC data source), establishing a connection to an SQL database with Java JDBC is a simple two-step process:
- Load the JDBC driver.
- Establish the JDBC connection to your database.
We'll show you two JDBC examples just so you can see how easy it is, and how little the code changes when you migrate from one database server to another.
Top 10 Technology Terms to Know for 2009 (3)
Microblogging
SSD - Solid State Disks
Ubuntu
Make Windows 7 Automatically Find New Device Drivers
Important: For best results make sure you are connected to the internet whenever adding a new device.
How to Automatically Download The Latest Device Installation Drivers In Windows 7
1. Click the Start Menu Orb and then Click Devices and Printers.
2. Right-Click the icon for your computer and then Select Device installation settings.
3. Check the box Yes, do this automatically (recommended).
Optionally if you’re feeling rebellious… you can instead Check Always install the best driver software from Windows Update and Check the the box for Replace generic device icons with enhanced icons. There isn’t a difference between this “No” option and the “Yes” option, they both do the exact same thing! Microsoft made a nice duplicate setting here to confuse you, how kind!
4. Make sure Windows Update automatic updates are enabled. This needs to be on for this to work properly.
Now when you install new devices, Windows Update will automatically search the online Microsoft driver database and install their latest driver. Sometimes how recent the driver is can be hit and miss. For example, a driver may be a few months outdated in comparison to the latest driver available on your device manufacturer’s website. But then other times the manufacturer will release the driver to Windows Update before they even post it on their own site, so you’ll get a ultra-recent driver by using Windows automatic update instead. It really just depends.
NASA's Deep Space Camera Locates Host of 'Earths'

NASA/JPL-Caltech/R. Hurt (SSC)
Artist's conception of Sedna, an exoplanet hiding on the fringes of our solar system.
Scientists celebrated Sunday after finding more than 700 suspected new planets -- including up to 140 similar in size to Earth -- in just six weeks of using a powerful new space observatory.
Early results from NASA’s Kepler Mission, a small satellite observing deep space, suggested planets like Earth were far more common than previously thought.
Past discoveries suggested most planets outside our solar system were gas giants such as Jupiter and Saturn -- but the new evidence tipped the balance in favor of solid worlds.
Astronomers said the discovery meant the chances of eventually finding truly Earth-like planets capable of sustaining life rose sharply.
NASA so far formally announced only five new exoplanets -- those outside our solar system -- from the mission because its scientists were still analyzing Kepler’s finds to confirm they are actually planets.
“The figures suggest our galaxy, the Milky Way [which has more than 100 billion stars] will contain 100 million habitable planets, and soon we will be identifying the first of them,” said Dimitar Sasselov, professor of astronomy at Harvard University and a scientist on the Kepler Mission. "There is a lot more work we need to do with this, but the statistical result is loud and clear, and it is that planets like our own Earth are out there."
NASA Deep Space Camera Finds 700 New Planets

NASA’s Kepler Mission – a small satellite observing deep space – has found 700 “suspected” new planets, of which up to 140 are similar in size to Earth.
Scientists celebrated Sunday after finding more than 700 suspected new planets — including up to 140 similar in size to Earth — in just six weeks of using a powerful new space observatory.
Early results from NASA’s Kepler Mission, a small satellite observing deep space, suggested planets like Earth were far more common than previously thought.
Past discoveries suggested most planets outside our solar system were gas giants such as Jupiter and Saturn — but the new evidence tipped the balance in favor of solid worlds.
Astronomers said the discovery meant the chances of eventually finding truly Earth-like planets capable of sustaining life rose sharply.
NASA so far formally announced only five new exoplanets — those outside our solar system — from the mission because its scientists were still analyzing Kepler’s finds to confirm they are actually planets.
“The figures suggest our galaxy, the Milky Way [which has more than 100 billion stars] will contain 100 million habitable planets, and soon we will be identifying the first of them,” said Dimitar Sasselov, professor of astronomy at Harvard University and a scientist on the Kepler Mission. “There is a lot more work we need to do with this, but the statistical result is loud and clear, and it is that planets like our own Earth are out there.”
Saturday, November 27, 2010
Top 10 Technology Terms to Know for 2009 (2)
Cloud Computing
FDE - full-disk encryption
Earlier this year the National Security Agency, the cryptologic intelligence arm of the U.S. government, qualified Seagate Technology's Momentus 5400 FDE.2 hard drive for use in laptops and other computing devices deployed by federal agencies and contractors.