Monthly Archives: March 2014

Cannot load JDBC driver class ‘net.sourceforge.jtds.jdbc.Driver’

This Blog shows you some possible causes when getting the Exception above using Eclipse with multiple installed Java Runtime Environments. For this tutorial we’ve been using ‘Spring Tool Suite Version: 3.1.0.RELEASE’, together with Apache Maven version 3.0.4 (r1232337; 2012-01-17 09:44:56+0100).

Posted in Eclipse, Software Engineering

Data Security without the Cloud

This post shows a simple solution to backup your most valuable documents on a USB-Stick in an hidden and encrypted form, such that the data is not easily recognizable and accessible for unauthorized users. Users connecting the Stick would just

Posted in Data Security

Cloud or no Cloud, that’s the question!

This post is about the question, wheter or not you should use cloud services in order to backup your data. Compared to traditional backup solutions using hard drives there are lots of advantages you win when going for a cloud

Posted in Data Security, Enterprises

Match multibyte Characters with Regex in JAVA

When working intensively with regular expressions in JAVA and other languages than english are involved, you are bound to meet unexpected behaviour, at least when trying to cope with it the first time. This post teaches you how to match

Posted in Regular Expressions, Software Engineering

Sort String Tokens alphabetically in JAVA

This is an example to show a simple way of sorting String Tokens alphabetically in JAVA. We’re using the StringUtils helper-class provided by the Spring-Framework to realize this exmaple. Add the following dependency within your pom.xml to have StringUtils available:

Posted in Software Engineering, Spring Framework

Query to select top-n Records from each Group (TSQL)

Often I come accross a task where I need to select the top-n records from each group from a given set of data, where each subgroup is defined by having a specific attribute in common. To demonstrate how this is

Tagged with: , , , ,
Posted in Databases, TSQL (MSSQL)

Apache Karaf 3.0.0 bundle:watch

How to develop with Apache Karaf 3.0.0 and Maven without wasting a lot of time? Apache Karaf provides the command bundle:watch With this command you can define maven url’s which are be observed by Karaf after you have installed a

Posted in Software Engineering