Saturday, June 28, 2008

Foxmarks - an excellent Google Browser Sync alternative

I have been using Google Browser Sync for a long time but it is no longer supported by Google now. I was looking for a good alternative and I have chosen Foxmarks. The reason why I picked Foxmarks over other products (like Google Bookmars) is that is allows very smooth integration with Sage (which is my favorite fead readed). And the reason why I prefer Sage over Google Reader is that it supports folders...

Sunday, June 22, 2008

Another *original* logo design found!


Today, I have added another piece into my "ON"-like logo collection. Taken from http://www.onnetworks.com/
They say "Original programming for Original peopleTM" and all I can add is that ... It is hard to create original logo.

Friday, June 20, 2008

TSSJS Prague 2008

I have just learned that I missed TSS Java Symposium in Prague this year!

Agenda looked pretty interesting. It seems that cloud, grid and concurrent computing is going to be the next buzz word which every developer has to add into CV soon next to Spring, JPA, Hibrnate, Grails and Groovy stack (tracks about Scala, MapReduce, DataGrids ...).

Well, I hope that I won't miss it next time and that at least the slides will be available soon. As of now I was able to find Shay Banon's Beyond the DataGrid (it specifically mentions Hadoop as well).

Wednesday, June 18, 2008

Last.fm module (0.2) for NetBeans released


New version of Last.fm module for NetBeans is out!

Main changes:
  • Redesigned GUI - now more stateful
  • Switched to trunk version of ascrblr library
  • Fixed some internal issues with threads
Release notes for new version can be found here: http://code.google.com/p/last-fm/wiki/ReleaseNotes

Distribution file can be downloaded here: http://last-fm.googlecode.com/files/last.fm-0.2.zip

Enjoy!

Note: distribution package was build using Java 1.6 and NetBeans 6.1. If you need to use Java 1.5 or NetBeans 6.0 then you have to build the module from source code.

Tuesday, June 17, 2008

HSQLDB - Closing Database Connection

If you are using HSQLDB and you are getting exceptions like:

Could not get JDBC Connection; nested exception is java.sql.SQLException: The database is already in use by another process ...

or

java.lang.Exception: The process cannot access the file because another process has locked a portion of the file ...

then you probably need to close the database connection correctly.

Call the following method:
org.hsqldb.DatabaseManager.closeDatabases(0);

For example if you are using HSQLBD in your unit tests then it is necessary to call org.hsqldb.DatabaseManager.closeDatabases(0); in every tearDown() method in each unit test.

References:
[1] Unit Testing of Database Applications
[2] How to close all connections in HSQLDB