Installing Quantum DB to Eclipse 3.3

Recently I've just installed the Quantum DB plugin for Eclipse. So far, in my limited usage, it seems great. Being able to work within the same IDE for different types of development is great.

We primarily work with MS SQL Server 2000+ and MySQL databases and there are JDBC drivers available for both of these.

I thought I'd blog about the installation (in case I need some help again in the future)

To try out Quantum DB yourself, the first thing you need to do is install the Quantum DB plugin for Eclipse.

The following instructions are based on Eclipse 3.3+

To install Quantum DB, you first need to install the GEF plugin for Eclipse

To do this: 1. Open Eclipse and go to: Help -> Software updates -> Find and Install... -> Search for new features to install

2. Select the checkbox next to the Europa Discover Site and click next.

3. Select the default mirror to check.

4. On the result page that lists the new features, expand Graphical Editors and Frameworks and select the Graphical Editing Framework option (you don't have to select the SDK, but you could select that as well if you want).

5. Go through the rest of the installation process and restart Eclipse.

Now you are ready to install Quantum DB.

To do this: 1. Open Eclipse and go to: Help -> Software updates -> Find and Install... -> Search for new features to install

2. Click the button for "New Remote Site", then type the update URL as follows: http://quantum.sourceforge.net/update-site

3. Click next and go through the rest of the installation process.

After the installation and Eclipse restarts, you now have Quantum DB installed.

To get Quantum DB working with MySQL and MS SQL Server I had to download and install the JDBC drivers.

For MySQL, you can download the MySQL Connnector/J from: http://dev.mysql.com/downloads/connector/j/ You don't need to register to download the connector, just click the link at the bottom that says "No thanks, just take me to the downloads!"

For MS SQL Server, you can download the SQL Server 2005 JDBC Driver from: http://msdn.microsoft.com/data/jdbc/

Download and extract these to their respective folders and put them somewhere on your hard drive. I put them in the root of the Eclipse folder.

For MySQL, you should find a file called like: mysql-connector-java-5.0.7-bin.jar For MS SQL, you should find a file called something like: sqljdbc.jar

To add support for MySQL, you need to do the following:

1. Go to eclipse and switch to the view "Quantum DB" by going to Window -> Open Perspective -> Other..

2. Add a new bookmark by right-clicking inside the left "database bookmarks" panel and selecting "New Bookmark"

3. Now click "Add driver", from the dropdown list called "type", choose MySQL.

4. Now click "add external jar", point to the file mysql-connector-java-5.0.7-bin.jar (or whatever your jar file is called)

5. Click the "browse" button for the class name "com.mysql.jdbc.Driver", then go on clicking many "OK" buttons.

So, now that you have the driver installed, you need to add a bookmark for the database you want to connect to.

1. Right-click in the "database bookmarks" panel again,

2. Select the MySQL driver and click Next.

3. A dialog will be shown for you input the connection information for the database you are connecting to. Enter, this information and click Next.

4. Now enter a name for the bookmark and click Finish.

The MySQL bookmark for your database is now setup.

To add the MS SQL Server driver and bookmark, repeat the process above for adding a driver and creating a bookmark using the appropriate MS SQL file and database information.

Hope you find this useful!

New way to embed Google Maps

Previous post about Google's My Maps explained new online tool to create personalized or customized maps.

Google is still updating this My Maps tool. There is a new great feature that allows you to embed your custom or personal maps into your website. You can just copy/paste a string of HTML code to have your map on webpage. And this map will be totally interactive with zoom in/zoom out, different views, etc.

Google provides HTML code that shows map in iframe. That means you can customize of the embedded Google Map such as size, frame border, scrolling, etc.

[More]

Ever wanted to know more about your websites? Check out Compete.com

For those of you that love to see details about websites, this is one that you don't want to miss. It's called Compete.com and its data comes from several different sources, including ISPs.

At a glance it works just as something like the rankings at Alexa.com would, but it's much more than that. With the tool at Compete.com, you can break this information down to see the number of unique visits, and even show the data as the number of persons.

[More]

Google Trends - Hot Trends

For those of you that do not play with the tools in the Google Labs, you may not have yet noticed the added feature to Google Trends.

[More]

694 million people online worldwide

May 4, 2006 / PRNewswirecomScore Networks, today announced the launch of comScore World Metrix, the first true estimate of global online audience size and behavior based on activity from the world's largest online behavioral research panel.In launching comScore World Metrix, the company announced that 694 million people, age 15+, used the Internet worldwide from all locations in March 2006, representing 14 percent of the world's total population within this age group.Israel, Finland and South Korea Lead the World in Online EngagementcomScore also released the top 15 countries ranked by average hours spent online per visitor for March 2006, as a measure of engagement. Israel led the list, with the average user spending 57.5 hours online during the month -- twice as much time compared to the average person in the U.S., which did not rank in the top 15 countries. Top Global PropertiescomScore also issued a sneak preview of the top 15 media properties worldwide, with MSN- Microsoft Sites topping the list with 538.6 million global users, followed by Google (495.8 million users), and Yahoo! (480.2 million users). Yahoo! Sites led all global properties in page views with 137.2 billion page views during March, followed by Google (108.7 billion page views), and MSN- Microsoft Sites (96.2 billion page views).