author profile image

Matt Reid

Solo Entrepreneur | Lead Software Architect

I recently found myself needing to embed a velocity template in a project that was being bundled with the web app that I was developing, this meant that the template file would only be accessible from inside a jar file. I found this blog Apache Velocity - How to load...

I am working on my latest codefish android app which utilises Jsch to send files over SFTP. I couldn’t find a complete example of creating an SFTP connection using a password so I thought I’d post one. Here is the code: ``` {.js name=”code”} import java.io.File; import java.util.Properties; import java.util.Vector;...

I was tasked with writing a quick report from an existing sql in a hibernate 3 and spring mvc application that I have been working on. I decided that the quickest way to get this done would be to create a new POJO and use the existing sql as a...

Today I had to select a distinct column on a DB2 table but I also wanted the query ordered. When I tried select distinct title from product order by price, qty the sql compiler complained that it didn’t recognise the order by statement. After a while of googling the problem,...

I have finally got round to getting an issue tracker for FixtureFeed and am using the wonderful cubeon to track issues in netbeans. You can track the latest issues on FixtureFeed Google Code I am planning to use google project hosting to track issues for all the CodeFish apps so...