Life of the IT-Drummer

A web log from Tobias Rusås Olsen.

Basic Spring 3.0 eclipse-project with Maven 3

There are already lots of tutorials for Spring and for Maven, but many seemed outdated, and it was a challenge to collect all the pieces, so I’ve done it for you (and for the future me). Just follow these instructions! This is pretty much a “Getting started”, and it does not contain much details. If [...]

Read the rest of Basic Spring 3.0 eclipse-project with Maven 3

Failed to execute WebDAV PROPPATCH

Failed to execute WebDAV PROPPATCH
svn: Commit failed (details follow):
svn: At least one property change failed; repository is unchanged
RA layer request failed
svn: Error setting property ‘log’:
Could not execute PROPPATCH.
Has this error occured when you try to commit something to SVN? It happened to me, and while debugging it, I discovered that it [...]

Read the rest of Failed to execute WebDAV PROPPATCH

Combining Ruby (or Groovy/BeanShell) and Java with Spring Framework.

To combine Ruby and Java might seem like a challenge, but it’s actually quite easy using the Spring Framework. Feel free to follow along with my simple step by step instructions. I make programming FUN! These examples are collected from Spring In Action - Second Edition and uses Spring Framework 2.0.8.
1: Define a regular java [...]

Read the rest of Combining Ruby (or Groovy/BeanShell) and Java with Spring Framework.

Cool trick in Eclipse IDE -> Go into.

I’ve been using Eclipse for some time now, but just recently discovered this trick by accident.
This trick concerns views like Navigator or Package Explorer. If you have lots of projects, it might be annyoing to have open projects over and under the package you’re working in. You can of course use the “close all unrelated [...]

Read the rest of Cool trick in Eclipse IDE -> Go into.

Amazing Spring MVC Tutorial - simple.

I found this great step-by-step tutorial on Spring MVC today. It helps you build a very simple web application using Spring MVC. It takes care of all the steps required in order to have a simple web application where all the fundamentals are in place. Perfect for everyone interested in using Spring MVC.
The tutorial is [...]

Read the rest of Amazing Spring MVC Tutorial - simple.

Spring Tutorial,Java Spring Tutorials,Spring 2.5 Beginners Tutorial

Truben linked to a great page for Spring. Check it out!
http://truben.no/journal/spring-tutorialjava-spring-tutorialsspring-25-beginners-tutorial/

Read the rest of Spring Tutorial,Java Spring Tutorials,Spring 2.5 Beginners Tutorial

Simple learning script

It’s exam time for me, and both Peder, Jostein and myself must learn things. Therefore me and Peder decided to make programs to help us learn things. He wrote his program in Java and I choose Python as my language.
The program is fairly simple. You select a text file containing lines with topics you [...]

Read the rest of Simple learning script

Some new programming projects.

Recently, I’ve been involved with some projects that have been put out on google code. To be more precise, there’s two of them. Since it’s on google code, everyone can check out the source code and play with it. If you want in on one of the projects, please take contact with me in some [...]

Read the rest of Some new programming projects.

Explanations of Exceptions in Java

Came across a great page explaining the different Exceptions which can occour in Java.
Example:

IllegalAccessException
You are a burgler that are running a Java program during a burglery. Please finish stealing the computer, leave the premises and try again.

The rest are found her: http://rymden.nu/exceptions.html

Read the rest of Explanations of Exceptions in Java

Code Golf - Fun programming site.

I recently discovered Code Golf, which is a web site with a collection of fairly simple programming challenges. You are free to choose from a set of languages (Ruby, Python, PHP, Perl) and the goal is not just to solve the challenge, but to solve it using as few characters as possible. It will not [...]

Read the rest of Code Golf - Fun programming site.